随笔分类 -  Reginal2013_杭州

hdu 4772 Zhuge Liang's Password ,Regional 2013 杭州 C
摘要:题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=4772思路: 直接暴力 把四种角度全部列举出来,然后逐一看重合个数有多少代码:#include#includeusing namespace std;struct Matrix{ int a[30][30];};Matrix right_turn(Matrix x,int n){ Matrix ans; for(int i=0;i>n) { if(n==0) break; Matrix m[5]; for(int i=0;imax) { ... 阅读全文

posted @ 2013-11-13 02:33 814jingqi的ACM 阅读(127) 评论(0) 推荐(0)