摘要:
题目链接:棋盘问题 这道题水不水呢?还是很水的,为什么?因为数据太小了。直接算就行了。#includeusing namespace std;int main(){ int n,m; scanf("%d%d",&n,&m); int sum1=0; ...
阅读全文
posted @ 2017-08-13 23:49
cggwz
阅读(139)
推荐(0)
摘要:
先给题目链接:神奇的幻方 太水了这题,直接模拟就行,直接贴代码。#includeusing namespace std;int main(){ int n; scanf("%d",&n); int num[n][n]; memset(num,0...
阅读全文
posted @ 2017-08-13 08:13
cggwz
阅读(767)
推荐(0)