Problem mountainbridges
User TheRaptor
Submission Time 2023-11-27 11:48:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from mountainbridges.cpp:1:
mountainbridges.cpp:12:29: error: stray ‘\342’ in program
12 | assert(arr[i]==max(i+1, N − i));
| ^
mountainbridges.cpp:12:30: error: stray ‘\210’ in program
12 | assert(arr[i]==max(i+1, N − i));
| ^
mountainbridges.cpp:12:31: error: stray ‘\222’ in program
12 | assert(arr[i]==max(i+1, N − i));
| ^
mountainbridges.cpp: In function ‘int main()’:
mountainbridges.cpp:12:27: error: ‘N’ was not declared in this scope
12 | assert(arr[i]==max(i+1, N − i));
| ^