Problem adjmatrix
User kashsinghal
Submission Time 2023-11-10 15:04:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:16:17: error: expected ‘;’ before ‘<=’ token
16 | for (int i=1, i<=n;++i){
| ^~
| ;
adjmatrix.cpp:16:17: error: expected primary-expression before ‘<=’ token
16 | for (int i=1, i<=n;++i){
| ^~
adjmatrix.cpp:18:17: error: expected ‘;’ before ‘)’ token
18 | cout<<a[i][j]);
| ^
| ;