Problem | mountainbridges |
---|---|
User | TheRaptor |
Submission Time | 2023-11-27 11:48:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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: In function ‘int main()’:
mountainbridges.cpp:12:26: error: ‘N’ was not declared in this scope
12 | assert(arr[i]==max(i+1,N-i));
| ^