test/many_aplusb.test.cpp
Code
#define PROBLEM "https://judge.yosupo.jp/problem/many_aplusb"
#include <stdint.h> // for uint64_t
#include <sys/types.h> // for uint
#include <fastio/base.hpp> // for FASTIO, cin, FIO, cout
#include <fastio/unsigned/read.hpp> // for operator>>
#include <fastio/unsigned/write.hpp> // for operator<<
#include <templates/macro/abbrev/endl.hpp> // for endl
#include <templates/rep.hpp> // for rep
#include <templates/template.hpp>
#include <version> // for std
int main() {
uint t;
cin >> t;
rep(_, 0U, t) {
uint64_t a, b;
cin >> a >> b;
cout << a + b;
*FIO.opos++ = endl;
}
}
#line 1 "test/many_aplusb.test.cpp"
#define PROBLEM "https://judge.yosupo.jp/problem/many_aplusb"
#include <stdint.h> // for uint64_t
#include <sys/types.h> // for uint
#include <fastio/base.hpp> // for FASTIO, cin, FIO, cout
#include <fastio/unsigned/read.hpp> // for operator>>
#include <fastio/unsigned/write.hpp> // for operator<<
#include <templates/macro/abbrev/endl.hpp> // for endl
#include <templates/rep.hpp> // for rep
#include <templates/template.hpp>
#include <version> // for std
int main() {
uint t;
cin >> t;
rep(_, 0U, t) {
uint64_t a, b;
cin >> a >> b;
cout << a + b;
*FIO.opos++ = endl;
}
}
Test cases
Env |
Name |
Status |
Elapsed |
Memory |
g++ |
all_max_00 |
AC |
106 ms |
46 MB |
g++ |
all_zero_00 |
AC |
28 ms |
11 MB |
g++ |
digit_random_00 |
AC |
64 ms |
27 MB |
g++ |
digit_random_01 |
AC |
64 ms |
27 MB |
g++ |
example_00 |
AC |
5 ms |
4 MB |
g++ |
max_random_00 |
AC |
61 ms |
44 MB |
g++ |
max_random_01 |
AC |
62 ms |
44 MB |
g++ |
random_00 |
AC |
28 ms |
21 MB |
g++ |
random_01 |
AC |
31 ms |
24 MB |
Back to top page