Problem adjmatrix
User shoryu386
Submission Time 2023-02-24 11:33:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjmatrix.cpp:5:5: error: ‘cin’ does not name a type
5 | cin >> node >> edge; \
| ^~~
adjmatrix.cpp:6:21: error: array bound is not an integer constant before ‘]’ token
6 | bool matrix[node][node]; \
| ^
adjmatrix.cpp:6:27: error: array bound is not an integer constant before ‘]’ token
6 | bool matrix[node][node]; \
| ^
adjmatrix.cpp:7:5: error: expected unqualified-id before ‘for’
7 | for (long long int i = 0; i < node; i++) { \
| ^~~
adjmatrix.cpp:7:31: error: ‘i’ does not name a type
7 | for (long long int i = 0; i < node; i++) { \
| ^
adjmatrix.cpp:7:41: error: ‘i’ does not name a type
7 | for (long long int i = 0; i < node; i++) { \
| ^
adjmatrix.cpp:12:5: error: expected unqualified-id before ‘for’