摘要:
题解: 模拟棋子移动,最后几行找不到规律所以直接打表 1 #include <bits/stdc++.h> 2 using namespace std; 3 int n; 4 char s[500]; 5 void init() 6 { 7 for (int i = 0; i < n; ++i) 8 阅读全文
posted @ 2023-09-01 15:50
上原歩夢
阅读(41)
评论(0)
推荐(0)
摘要:
1 #include <bits/stdc++.h> 2 using namespace std; 3 int k, x, y; 4 5 int judge(int x, int y, int gx, int gy, int len) // 判断障碍物在哪个区块 6 { 7 if (gx <= x 阅读全文
posted @ 2023-09-01 15:49
上原歩夢
阅读(51)
评论(0)
推荐(0)