algo — C++23 日本語リファレンス GitHub

test/yosupo/sample/a+b.test.cpp

AC · 最終更新 2026-07-17 · GitHub

問題: https://judge.yosupo.jp/problem/aplusb

実装
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/aplusb
#include <bits/stdc++.h>

int main(void) {
    int a, b;
    std::cin >> a >> b;
    std::cout << a + b << std::endl;
    return 0;
}

bundled

#line 1 "test/yosupo/sample/a+b.test.cpp"
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/aplusb
#include <bits/stdc++.h>

int main(void) {
    int a, b;
    std::cin >> a >> b;
    std::cout << a + b << std::endl;
    return 0;
}