Problem lightningrod
User haydendoo
Submission Time 2023-04-26 09:02:53
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 lightningrod.cpp:1:
lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:86:35: error: ‘x’ was not declared in this scope
86 | for(int i=0; i<n; ++i) assert(arr[x].first>=0);
| ^