This documentation is automatically generated by online-judge-tools/verification-helper
View the Project on GitHub Harui-i/library
#define PROBLEM "https://judge.yosupo.jp/problem/aplusb" #include "template/template.hpp" void test() { random_device seed_gen; mt19937 rng(seed_gen()); while (rng() % 2 == 1) { continue; } return; } int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); test(); int A, B; cin >> A >> B; cout << A+B << endl; }
#line 1 "test/unittest/unittest-template.cpp" #define PROBLEM "https://judge.yosupo.jp/problem/aplusb" #line 1 "template/template.hpp" #include <iostream> #include <cassert> using namespace std; using ll = long long; template<class T> inline bool chmax(T& a, const T& b) {if (a<b) {a=b; return true;} return false;} template<class T> inline bool chmin(T& a, const T& b) {if (b<a) {a=b; return true;} return false;} const int INTINF = 1000001000; const int INTMAX = 2147483647; const ll LLMAX = 9223372036854775807; const ll LLINF = 1000000000000000000; #line 4 "test/unittest/unittest-template.cpp" void test() { random_device seed_gen; mt19937 rng(seed_gen()); while (rng() % 2 == 1) { continue; } return; } int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); test(); int A, B; cin >> A >> B; cout << A+B << endl; }