离散题目14
来源:互联网 发布:怎样做淘宝客网站 编辑:程序博客网 时间:2024/05/18 05:32
#include<stdio.h>int main(){int n, m;while(scanf("%d %d", &n, &m) != EOF){int a[1005][1005];int x, y;while(m--){scanf("%d %d", &x, &y);a[x][y] = 1;}int flag = 1;int i, j;for(i = 1; i <= n; i++)for(j = 1; j <= n; j++){if(a[i][j] != a[j][i])flag = 0;}if(flag)printf("YES\n");elseprintf("NO\n");}return 0;}
阅读全文
0 0
- sdut离散题目14
- 离散题目14
- 离散题目14
- 离散题目14
- 离散题目14
- sdut-离散题目14
- SDUT 3808 离散题目14
- 离散题目14--判断集合的对称性
- 离散题目14 判断是否对称
- 离散题目3
- 离散题目7
- sdut离散题目11
- sdut离散题目13
- 离散题目12
- 离散题目15
- 3799-->离散题目5
- 3800-->离散题目6
- 离散题目1
- Could not get unknown property 'ANDROID_BUILD_SDK_VERSION' for project ':daternagepicker' of type or
- Oracle: Ignore 参数在Oracle 的Exp/imp的意义
- bzoj 3319: 黑白树 (并查集)
- 二进制编码 小记
- static关键字详解
- 离散题目14
- yii的一些数据库查询方式(一)
- WebService 工作原理及实例教程
- JavaScript对象
- luban压缩多图路径重复问题解决
- APUE习题10.5之implementing software timer
- 实验吧——WriteUp&&涨姿势(4)
- 写接口Controller层
- 如何解决maven update之后JDK变回1.5