cf 12a Super Agent
来源:互联网 发布:模拟退火和遗传算法 编辑:程序博客网 时间:2024/06/07 09:35
#include <iostream>#include <cstdio>using namespace std;#define LL long long#define ULL unsigned long longint main(){ char m[3][3]; for(int i=0;i<3;i++) for(int j=0;j<3;j++) cin>>m[i][j]; bool flag=true; if(m[0][0]!=m[2][2]) flag=false; else if(m[0][1]!=m[2][1]) flag=false; else if(m[0][2]!=m[2][0]) flag=false; else if(m[1][0]!=m[1][2]) flag=false; if(flag) printf("YES\n"); else printf("NO\n"); return 0;}
0 0
- cf 12a Super Agent
- 12A Super Agent
- 12A - Super Agent
- codeforces 12A - Super Agent
- CodeForces 12A - Super Agent
- CodeForces-12A-Super Agent
- 【水枚举】#12 A. Super Agent
- A. Super Agent
- A. Super Agent
- CF Educational Round 12,A
- A super program
- super.a=a-1;
- CF 2A Winner
- CF 128A Statues
- <cf>A. Exams
- CF 109A
- CF 111A
- CF 4A Watermelon
- cf 11a Increasing Sequence
- eclipse转MyEclipse
- 关于委托与自定义事件EventArgs浅谈
- Android:带你玩转Servie,子线程,与UI线程通信[导入导出]
- 【Android成长之路】Intent初体验—使用Intent 在活动之间穿梭(一)
- cf 12a Super Agent
- [POJ 3169]Layout[差分约束][最短路]
- POJ 1458 Common Subsequence
- Android 深入了解 Handler 和 Looper
- perl中标量的定义和使用
- cf 13a Numbers
- [LeetCode] Copy List with Random Pointer
- 如何在Ubuntu下打开dot文件
- pod的安装与使用三