SDUT3347数据结构实验之数组三:快速转置
来源:互联网 发布:国家中级程序员证书 编辑:程序博客网 时间:2024/05/18 00:16
#include<bits/stdc++.h>using namespace std;struct node{ int x,y,k;};bool operator < (struct node x0,struct node y0){ if(x0.x==y0.x)return x0.y<y0.y; else return x0.x<y0.x;}int main(){ int mu,nu,tu; while(~scanf("%d %d %d",&mu,&nu,&tu)) { struct node a[10050]; for(int i=0; i<tu; i++) scanf("%d %d %d",&a[i].y,&a[i].x,&a[i].k); sort(a,a+tu); for(int i=0; i<tu; i++) printf("%d %d %d\n",a[i].x,a[i].y,a[i].k); }}
0 0
- SDUT3347数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置(sdut_3347)
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- 数据结构实验之数组三:快速转置
- Gitlab迁移小记
- 发现个学spark的地方,不错
- 关键字和宏
- C#学习入门
- Android版本更新示例
- SDUT3347数据结构实验之数组三:快速转置
- 7.29
- PHPCMS V9 列表页调用任意文章内容
- Linux进程监控
- 【php】会潮支付接口
- Hdu 5768 Lucky7
- 宏观和微观的结合---不可取代的专业能力系列(一)
- Hibernate的interceptors与events
- POJ 3233 Matrix Power Series