Problem snail
User haydendoo
Submission Time 2023-01-22 09:46:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snail.cpp: In instantiation of ‘std::string to_string(const T&) [with T = __int128; std::string = std::__cxx11::basic_string<char>]’:
snail.cpp:265:19: required from ‘void write(const A&) [with A = __int128]’
snail.cpp:285:7: required from ‘void print(const H&, const T& ...) [with H = __int128; T = {long long int}]’
snail.cpp:463:21: required from here
snail.cpp:91:20: error: ‘begin’ was not declared in this scope
91 | #define EACH(x, a) for (auto& x: a)
| ^~~
snail.cpp:247:5: note: in expansion of macro ‘EACH’
247 | EACH(x, v) {
| ^~~~
snail.cpp:91:20: note: suggested alternatives:
91 | #define EACH(x, a) for (auto& x: a)
| ^~~
snail.cpp:247:5: note: in expansion of macro ‘EACH’
247 | EACH(x, v) {
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from snail.cpp:1:
/usr/include/c++/9/v