Problem | simp |
---|---|
User | aj |
Submission Time | 2025-01-17 22:13:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
simp.cpp:5:31: error: ‘auto’ parameter not permitted in this context
5 | bool check_same_diagonal(list pt){
| ^~
simp.cpp: In function ‘bool check_same_diagonal()’:
simp.cpp:6:11: error: ‘pt’ was not declared in this scope
6 | int x=pt[0];
| ^~
simp.cpp:8:11: error: ‘a1’ was not declared in this scope
8 | if (x-a1==y-a2){
| ^~
simp.cpp:8:17: error: ‘a2’ was not declared in this scope
8 | if (x-a1==y-a2){
| ^~
simp.cpp: At global scope:
simp.cpp:16:26: error: ‘auto’ parameter not permitted in this context
16 | bool check_same_row(list pt){
| ^~
simp.cpp: In function ‘bool check_same_row()’:
simp.cpp:17:11: error: ‘pt’ was not declared in this scope
17 | int x=pt[0];
| ^~
simp.cpp:19:12: error: ‘a2’ was not declared in this scope
19 | if (y==a2