fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. #define all(x) (x).begin(),(x).end()
  4. #define sz(x) (int)(x).size()
  5. #define pb push_back
  6. #define fi first
  7. #define se second
  8. #define el "\n"
  9. #define int long long
  10. typedef long long ll;
  11. const ll MOD=1e9+7,INF=1e18;
  12. const int maxn=1e5+5;
  13. void solve(){
  14. int a,b; cin>>a>>b;
  15. cout<<a+b<<el;
  16. }
  17.  
  18. signed main(){
  19. #define name "main"
  20. if(fopen(name".inp","r")) {
  21. freopen(name".inp","r" ,stdin);
  22. freopen(name".out","w",stdout);
  23. }
  24. ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
  25. int t=1;
  26. cin>>t;
  27. while(t--) solve();
  28. return 0;
  29. }
  30.  
Success #stdin #stdout 0.01s 5296KB
stdin
Standard input is empty
stdout
1615472434619503872