library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub beet-aizu/library

:heavy_check_mark: test/yosupo/many_aplusb.test.cpp

Depends on

Code

// verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb

#include<bits/stdc++.h>
using namespace std;

#define call_from_test
#include "../../tools/fastio.cpp"
#undef call_from_test

signed main(){
  const char newl = '\n';
  int t;
  cin>>t;
  for(int i=0;i<t;i++){
    long long a,b;
    cin>>a>>b;
    cout<<a+b<<newl;
  }
  return 0;
}
#line 1 "test/yosupo/many_aplusb.test.cpp"
// verification-helper: PROBLEM https://judge.yosupo.jp/problem/many_aplusb

#include<bits/stdc++.h>
using namespace std;

#define call_from_test
#line 1 "tools/fastio.cpp"

#line 3 "tools/fastio.cpp"
using namespace std;
#endif
//BEGIN CUT HERE
struct FastIO{
  FastIO(){
    cin.tie(0);
    ios::sync_with_stdio(0);
  }
}fastio_beet;
//END CUT HERE
#ifndef call_from_test
signed main(){
  return 0;
}
#endif
#line 8 "test/yosupo/many_aplusb.test.cpp"
#undef call_from_test

signed main(){
  const char newl = '\n';
  int t;
  cin>>t;
  for(int i=0;i<t;i++){
    long long a,b;
    cin>>a>>b;
    cout<<a+b<<newl;
  }
  return 0;
}
Back to top page