Problem lightningrod
User LiuZq
Submission Time 2024-02-22 20:57:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp:4:19: error: declaration does not declare anything [-fpermissive]
4 | typedef long long int;
| ^~~
lightningrod.cpp:16:1: error: ‘in32_t’ does not name a type; did you mean ‘int32_t’?
16 | in32_t x[10000000], y[10000000];
| ^~~~~~
| int32_t
lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:20:22: error: ‘N’ was not declared in this scope
20 | for(int i = 0; i < N; i++) {
| ^
lightningrod.cpp:21:5: error: ‘x’ was not declared in this scope
21 | x[i] = readInt();
| ^
lightningrod.cpp:22:5: error: ‘y’ was not declared in this scope
22 | y[i] = readInt();
| ^
lightningrod.cpp:26:8: error: ‘y’ was not declared in this scope
26 | if(y[i] == 1){
| ^