摘要: A. Rush Hour Puzzle B. The Power Monitor System C. Are They All Integers? #include <bits/stdc++.h> using namespace std; int n, a[110]; int main() { sc 阅读全文
posted @ 2022-01-15 18:37 ゼロツー 阅读(56) 评论(0) 推荐(1)
摘要: A. Olympic Ranking #include <bits/stdc++.h> using namespace std; pair<int, string> p[310]; int main() { int n; cin >> n; for (int i = 0, a, b, c; i < 阅读全文
posted @ 2022-01-13 21:31 ゼロツー 阅读(394) 评论(0) 推荐(0)
摘要: A. 公交路线 #include <bits/stdc++.h> using namespace std; int n, x, y, m; int k[20], p[20]; int main() { cin >> n >> x >> y; for (int i = 1; i <= n; i++) 阅读全文
posted @ 2022-01-11 21:20 ゼロツー 阅读(124) 评论(0) 推荐(0)
摘要: A. A Hard Problem #include <bits/stdc++.h> using namespace std; int main() { int cass, n; for (cin >> cass; cass; cass--) { cin >> n; cout << (n + 1) 阅读全文
posted @ 2022-01-08 18:50 ゼロツー 阅读(255) 评论(0) 推荐(0)
摘要: A. Spring Couplets #include <bits/stdc++.h> using namespace std; string a[30], b[30]; int n; bool check() { for (int i = 0; i < n - 1; i++) { if (a[i] 阅读全文
posted @ 2022-01-06 18:52 ゼロツー 阅读(697) 评论(0) 推荐(0)
摘要: A. Hasan the lazy judge B. Let me sleep C. Hasan and his lazy students #include <bits/stdc++.h> #define ll long long using namespace std; const int N 阅读全文
posted @ 2022-01-04 15:28 ゼロツー 阅读(98) 评论(0) 推荐(0)
摘要: A. Wowoear B. Mine Sweeper II 对比两个图中不同的块的个数,如果小于 M * N / 2 就直接输出A,否则输出A格子翻转之后的图 #include <bits/stdc++.h> using namespace std; const int N = 1e3 + 10; 阅读全文
posted @ 2022-01-03 19:26 ゼロツー 阅读(184) 评论(0) 推荐(1)
Live2D Title