Submit Info #57905

Problem Lang User Status Time Memory
Many A + B cpp sgsw AC 330 ms 19.48 MiB

ケース詳細
Name Status Time Memory
all_max_00 AC 330 ms 19.48 MiB
all_zero_00 AC 133 ms 2.25 MiB
digit_random_00 AC 248 ms 11.00 MiB
digit_random_01 AC 249 ms 10.95 MiB
example_00 AC 1 ms 0.45 MiB
max_random_00 AC 327 ms 18.94 MiB
max_random_01 AC 330 ms 18.94 MiB
random_00 AC 128 ms 7.61 MiB
random_01 AC 152 ms 9.04 MiB

#include<bits/stdc++.h> using namespace std; #pragma GCC optimize("Ofast") #define ll long long #define ld long double #define rep(i, a, b) for (int i = a; i < b; i++) #define rep1(i, a, b) for (int i = (b) - 1; i >= a; i--) #define endl '\n' #define vvii vector<vector<int>> #define vi vector<int> #define vvll vector<vector<ll>> #define vl vector<ll> template<class T> ostream& operator << (ostream &s, vector<T> &P) { for (int i = 0; i < P.size(); ++i) { if (i > 0) { s << " "; } s << P[i]; } return s; } template <class T>bool chmax(T &a, T b){if (a < b){a = b;return true;}return false;} template <class T>bool chmin(T &a, T b){if (a > b){a = b;return true;}return false;} template <class T = int>T gcd(T a, T b){return (b == 0) ? a : gcd(b, a % b);} template <class T = int>T lcm(T a, T b){return a / gcd(a, b) * b;} template<class T = int>T powMod(T x, T k, T m) {if (k == 0){return (T)1;}if (k % 2 == 0) {return powMod(x*x % m, k/2, m);}else{return x*powMod(x, k-1, m) % m;}} template <class T = int>T extgcd(T a,T b,T &x,T &y){T g = a;x = 1;y = 0;if (b != 0) {g = extgcd(b, a % b, y, x), y -= (a / b) * x;}return g;} template<class T = int> T invMod(T a,T m){T x,y;if (extgcd(a, m, x, y) == 1) {return (x + m) % m;}else{return -1;}} using Pii = pair<int,int>; using Pll = pair<ll,ll>; signed main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int t; cin >> t; rep(i,0,t){ ll a,b; cin >> a >> b; printf("%lld\n",a + b); } return 0; }