hdu 4772 Zhuge Liang's Password ,Regional 2013 杭州 C
题目地址: http://acm.hdu.edu.cn/showproblem.php?pid=4772
思路: 直接暴力 把四种角度全部列举出来,然后逐一看重合个数有多少
代码:
#include
#include
using namespace std;
struct Matrix
{
int a[30][30];
};
Matrix right_turn
原创
2013-11-13 02:33:12 ·
635 阅读 ·
0 评论