Problem snail
User mentcletan
Submission Time 2024-09-28 12:41:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snail.cpp: In function ‘int main()’:
snail.cpp:9:31: error: converting to ‘bool’ from ‘std::nullptr_t’ requires direct-initialization [-fpermissive]
9 | ios_base::sync_with_stdio(nullptr); cin.tie(0);cout.tie(0);
| ^~~~~~~
In file included from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from snail.cpp:1:
/usr/include/c++/9/bits/ios_base.h:752:26: note: initializing argument 1 of ‘static bool std::ios_base::sync_with_stdio(bool)’
752 | sync_with_stdio(bool __sync = true);
| ~~~~~^~~~~~~~~~~~~