摘要:
比赛链接:https://atcoder.jp/contests/abc167/tasks A - Registration 题意 字符串 t 比字符串 s 长 1,除此外其余部分是否与 s 相同。 代码 #include <bits/stdc++.h> using namespace std; i 阅读全文
摘要:
比赛链接:https://codeforces.com/contest/1352 A - Sum of Round Numbers 题意 将一个十进制数的每一个非零位分离出来。 代码 #include <bits/stdc++.h> using namespace std; void solve() 阅读全文
摘要:
比赛链接:https://codeforces.com/contest/1351 A - A+B (Trial Problem) #include <bits/stdc++.h> using namespace std; void solve() { int a, b; cin >> a >> b; 阅读全文
摘要:
比赛链接:https://codeforces.com/contest/1345 A - Puzzle Pieces 题意 能否用 3 凸 1 凹的拼图拼成 n x m 的图块。 题解 观察发现只可以拼成单独的一行(列)或两行两列。 代码 #include <bits/stdc++.h> using 阅读全文