链接:https://atcoder.jp/contests/abc446 A - Handmaid 算法: 模拟。 思路: 无。 关键代码: void miyan() { string s; cin >> s; s[0] = s[0] - 'A' + 'a'; cout << "Of" << s <&…
链接:https://atcoder.jp/contests/abc445 A - Strong Word 算法: 模拟。 思路: 无。 关键代码: void miyan() { string s; cin >> s; if (s.back() == s.front()) cout << "Yes" << endl; els…
链接:https://atcoder.jp/contests/abc443 A - Append s 算法: 模拟。 思路: 无。 关键代码: void miyan() { string s; cin >> s; cout << s << 's' << endl; } B - Setsubun 算法: 模拟。 思…
链接:https://atcoder.jp/contests/abc444 A - Repdigit 算法: 模拟。 思路: 无。 关键代码: void miyan() { int x; cin >> x; if (x % 10 == x / 10 % 10 && x % 10 == x / 100) cout << "…
链接:https://atcoder.jp/contests/abc441 A - Black Square 算法: 模拟。 思路: 无。 关键代码: void miyan() { int x1, y1, x2, y2; cin >> x1 >> y1 >> x2 >> y2; if (x2 >= x1 && y2 >= y1 &a…
链接:https://atcoder.jp/contests/abc442 A - Count . 算法: 模拟。 思路: 无。 关键代码: void miyan() { string s; cin >> s; ll ans = 0; for (auto c : s) if (c == 'i' || c == 'j') ++ans; cout &l…
链接:https://atcoder.jp/contests/abc437 A - Feet 算法: 模拟。 思路: 无。 关键代码: void miyan() { int a, b; cin >> a >> b; cout << a * 1…
链接:https://atcoder.jp/contests/abc436 A - o-padding 算法: 模拟。 思路: 无。 关键代码: void miyan() { int n; string s; cin >> n >> s; cout &…
链接:https://atcoder.jp/contests/abc435 A - Triangular Number 算法: 模拟。 思路: 无。 关键代码: void miyan() { int n; cin >> n; cout <<…
链接:https://atcoder.jp/contests/abc433 A - Happy Birthday! 4 算法: 模拟。 思路: 无。 关键代码: void miyan() { int x, y, z; cin >> x >> y >> z…