Problem | adjmatrix |
---|---|
User | Sheb |
Submission Time | 2025-02-17 15:52:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjmatrix.cpp: In function ‘int32_t main()’:
adjmatrix.cpp:10:6: error: scalar object ‘x’ requires one element in initializer
10 | int x = {1,2,3};
| ^
adjmatrix.cpp:11:6: error: scalar object ‘y’ requires one element in initializer
11 | int y = {1,2,3};
| ^
adjmatrix.cpp:12:10: error: ‘arrayEq’ was not declared in this scope
12 | cout << arrayEq(x,y);
| ^~~~~~~
adjmatrix.cpp:22:30: error: a function-definition is not allowed here before ‘{’ token
22 | bool getNode(int pos[2]) {
| ^
adjmatrix.cpp:34:12: error: ‘getNode’ was not declared in this scope; did you mean ‘fegetmode’?
34 | cout << getNode(xy);
| ^~~~~~~
| fegetmode