Problem everyonewinstherace
User Halogen
Submission Time 2024-02-04 16:29:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

everyonewinstherace.cpp: In function ‘int main()’:
everyonewinstherace.cpp:27:15: error: expected ‘;’ before ‘cin’
27 | cin.tie(0)
| ^
| ;
28 | cin >> N >> M;
| ~~~
everyonewinstherace.cpp:29:37: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘__int128’)
29 | for (int i = 0; i < N; i++) cin >> v[i];
| ~~~ ^~ ~~~~
| | |
| | __int128
| std::istream {aka std::basic_istream<char>}
In file included 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++