목록Problem Solving/Atcoder (3)
승형님의 블로그
https://atcoder.jp/contests/abc303 NS Solutions Corporation Programming Contest 2023(AtCoder Beginner Contest 303) - AtCoder AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online. atcoder.jp A. Similar String 요약 주어지는 문자열에서 1은 'l'로, 0은 'o'로 대체되어 similar string이 될 수 있다고 한다. 두 문자열이 주어졌을 때, similar string인지 판단한다. 모든 1과 'l', 0, 'o'에 대하여..
https://atcoder.jp/contests/abc281 AtCoder Beginner Contest 281 - AtCoder AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online. atcoder.jp A. Count Down 요약 N보다 작거나 같은 음수가 아닌 정수를 내림차순으로 출력한다. #include using namespace std; int N; int main(void) { ios::sync_with_stdio(false); cin.tie(0); cin >> N; for (int i = N; i >= 0; i--) cout S;..
https://atcoder.jp/contests/abc280 Denso Create Programming Contest 2022 Winter(AtCoder Beginner Contest 280) - AtCoder AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online. atcoder.jp A. Pawn on a Grid 요약 주어진 격자에서 '#'의 개수를 세어 반환한다. #include using namespace std; int H, W, cnt; int main(void) { ios::sync_with_stdio(false); cin.tie(..