摘要: Squaresversion 1(20ms):#include#includeusing namespace std;const int maxn = 10;int n,m,c,H[maxn][maxn],V[maxn][maxn];char readchar(){ ... 阅读全文
posted @ 2018-04-13 19:40 ACLJW 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Othello我的这道题的代码还是比较简洁的哈哈。version 1:#include#includeusing namespace std;int n,wn,bn;int dxs[3] = {0,1,-1};int dys[3] = {0,1,-1};char c,... 阅读全文
posted @ 2018-04-13 13:30 ACLJW 阅读(179) 评论(0) 推荐(0) 编辑