摘要: c | computer games 题目分析 只要存在一列上全部为1,就输出no; 代码 #include<iostream> using namespace std; int n, flag = 1; int main() { int t; cin >> t; while (t--) { cin 阅读全文
posted @ 2022-01-23 15:42 Lewis_1231 阅读(356) 评论(0) 推荐(0)
摘要: B | knight moves 代码: #include<iostream> #include<queue> #include<string.h> using namespace std; int t, n; int sx, sy, ex, ey, nx, ny; int book[305][30 阅读全文
posted @ 2022-01-23 15:28 Lewis_1231 阅读(45) 评论(0) 推荐(0)