This documentation is automatically generated by competitive-verifier/competitive-verifier
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/many_aplusb
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#include "../../src/misc/read.hpp"
void solve() {
ll a = read(), b = read();
cout << a + b << "\n";
}
int main() {
cin.tie(nullptr)->sync_with_stdio(false);
int tt = read();
while (tt--) {
solve();
}
return 0;
}
#line 1 "test/misc/read.test.cpp"
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/many_aplusb
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#line 1 "src/misc/read.hpp"
#define GC ch = getchar_unlocked()
ll read() {
ll x = 0, f = 1, GC;
while (ch < '0' || ch > '9') ch == '-' ? f = -1, GC : GC;
while (ch >= '0' && ch <= '9') x = x * 10 + ch - '0', GC;
return x * f;
}
#undef GC
#line 7 "test/misc/read.test.cpp"
void solve() {
ll a = read(), b = read();
cout << a + b << "\n";
}
int main() {
cin.tie(nullptr)->sync_with_stdio(false);
int tt = read();
while (tt--) {
solve();
}
return 0;
}
| Env | Name | Status | Elapsed | Memory |
|---|---|---|---|---|
| g++ | all_max_00 |
|
119 ms | 4 MB |
| g++ | all_zero_00 |
|
56 ms | 4 MB |
| g++ | digit_random_00 |
|
102 ms | 4 MB |
| g++ | digit_random_01 |
|
97 ms | 4 MB |
| g++ | example_00 |
|
5 ms | 4 MB |
| g++ | max_random_00 |
|
136 ms | 4 MB |
| g++ | max_random_01 |
|
138 ms | 4 MB |
| g++ | random_00 |
|
58 ms | 4 MB |
| g++ | random_01 |
|
60 ms | 4 MB |