Problem adjmatrix
User Yizhou
Submission Time 2024-06-06 17:57:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:12:19: error: expected primary-expression before ‘;’ token
12 | for(int i=1;i<=n;;i++){
| ^
adjmatrix.cpp:12:19: error: expected ‘)’ before ‘;’ token
12 | for(int i=1;i<=n;;i++){
| ~ ^
| )
adjmatrix.cpp:12:20: error: ‘i’ was not declared in this scope
12 | for(int i=1;i<=n;;i++){
| ^