목록atcoder (2)
정화 코딩
AtCoder Beginner Contest 355 (https://atcoder.jp/contests/abc355) A . Who Ate the Cake? https://atcoder.jp/contests/abc355/tasks/abc355_a //C++#include #include using namespace std;int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); vector p = vector(4, true); for (int i = 0; i > x; p[x] = false; } int cnt = 0; int ans; for (int i = 1; i (정답) B..
AtCoder Beginner Contest 354 (https://atcoder.jp/contests/abc354) A. Exponential Plant https://atcoder.jp/contests/abc354/tasks/abc354_a //C++#include using namespace std;int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int h; cin >> h; int curh = 0; int day = 0; int growth = 1; while (curh (정답) B. AtCoder Janken 2 https://atcoder.jp/contests/abc35..