Problem adjmatrix
User herngr3y
Submission Time 2026-04-05 19:42:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:8:2: error: expected ‘,’ or ‘;’ before ‘for’
8 | for (int i = 0; i < e; i++) {
| ^~~
adjmatrix.cpp:8:18: error: ‘i’ was not declared in this scope
8 | for (int i = 0; i < e; i++) {
| ^
adjmatrix.cpp:14:29: error: expected ‘)’ before ‘{’ token
14 | for (int i = 1; i <= n; i++ {
| ~ ^~
| )