A + B
の値を出力するだけ
https://judge.yosupo.jp/problem/aplusb (新しいタブで開く)
int main() {
int a, b;
cin >> a >> b;
cout << a + b << endl;
}
Many A + B
個のテストケースについて、 の値を出力する
https://judge.yosupo.jp/problem/many_aplusb (新しいタブで開く)
int main() {
int t;
cin >> t;
while (t--) {
ll a, b;
cin >> a >> b;
cout << a + b << endl;
}
}