전체 글188 AtCoder ABC 256 풀이 https://atcoder.jp/contests/abc256/tasks Tasks - Tokio Marine & Nichido Fire Insurance Programming Contest 2022(AtCoder Beginner Contest 256) AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online. atcoder.jp A. 2^n을 출력해줍니다. 1 n; cout n; for (int i = 1; i > a[i]; int p = 0; for (int i = 1; i > h3; cin >> w1 >> w2 >> w3; int ans = 0;.. 2022. 10. 22. 래피드 1800 달성! 올해 목표중 하나였는데 의외로 쉽게 달성했다. 1900이상은 진짜 어려울것 같다 2022. 10. 21. 2022 충남대학교 SW-IT Contest - Division 1 풀이 https://www.acmicpc.net/category/detail/3193 2022 충남대학교 SW-IT Contest - Division 1 www.acmicpc.net A. 햄버거를 1개 만들기 위해 빵 2개와 패티 1개가 필요합니다. 따라서 빵의 개수/2 와 패티 중 작은 값이 최대로 만드는 버거의 개수가 됩니다. #include using namespace std; int main() { ios::sync_with_stdio(0), cin.tie(0); int a, b; cin >> a >> b; cout > n; int even = 0; for (int i = 1; i > x; if (!(x&1))even++; } cout n; string s; cin >> s; int ans = 0; f.. 2022. 10. 9. AtCoder ABC 234 풀이 https://atcoder.jp/contests/abc234/tasks Tasks - AtCoder Beginner Contest 234 AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online. atcoder.jp A. 구하라는 함수값을 출력해주면 됩니다. #include using namespace std; int f(int x) { return x * x + 2 * x + 3; } int main() { ios::sync_with_stdio(0), cin.tie(0); int t; cin >> t; cout n; vectorx(n), y(n);.. 2022. 10. 7. 이전 1 ··· 23 24 25 26 27 28 29 ··· 47 다음