Problem sum2
User migueltanpe67
Submission Time 2026-06-25 10:00:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sum2.cpp: In function ‘int main()’:
sum2.cpp:7:2: error: ‘N’ was not declared in this scope
7 | N == 5
| ^
sum2.cpp:9:7: error: expected primary-expression before ‘==’ token
9 | A{i} == 0
| ^~
sum2.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
sum2.cpp:14:5: note: in expansion of macro ‘int’
14 | int adj[n][n];
| ^~~
sum2.cpp:17:13: error: ‘adj’ was not declared in this scope
17 | adj[i][j] = 0;
| ^~~