Submit Info #56459

Problem Lang User Status Time Memory
Many A + B cpp-acl QiToY AC 1479 ms 19.72 MiB

ケース詳細
Name Status Time Memory
all_max_00 AC 1479 ms 19.72 MiB
all_zero_00 AC 731 ms 2.59 MiB
digit_random_00 AC 1106 ms 11.21 MiB
digit_random_01 AC 1103 ms 11.21 MiB
example_00 AC 1 ms 0.61 MiB
max_random_00 AC 1440 ms 19.21 MiB
max_random_01 AC 1438 ms 19.22 MiB
random_00 AC 560 ms 7.96 MiB
random_01 AC 667 ms 9.22 MiB

#include<bits/stdc++.h> #include<atcoder/all> using namespace std; using namespace atcoder; using ll=long long; #define ALL_RANGE(v) v.begin(), v.end() template<class T> inline bool chmin(T& a,T b){ if(a>b){ a=b; return true; } return false; } template<class T> inline bool chmax(T& a,T b){ if(a<b){ a=b; return true; } return false; } template<class T> T pow(T a, long long n) { T ret(1); while(n) { if(n&1) ret*=a; a*=a; n>>=1; } return ret; } template<class T> T input(){ T _in; cin >> _in; return _in; } static int (*const iinput)()=input<int>; static string (*const sinput)()=input<string>; static long long (*const llinput)()=input<long long>; #ifdef LOCAL #include"template.hpp" #else // put template (online judge) #endif // ------------------------------ end template ------------------------------ int main(){ int T; cin >> T; while(T--) cout << llinput()+llinput() << endl; }