Problem simp
User aj
Submission Time 2025-01-17 22:12:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:20:17: error: expected primary-expression before ‘{’ token
20 | if ({b1+change_x,b2+change_y} not in visited){
| ^
simp.cpp:20:17: error: expected ‘)’ before ‘{’ token
20 | if ({b1+change_x,b2+change_y} not in visited){
| ~^
| )
simp.cpp:21:21: error: ‘check_same_diagonal’ was not declared in this scope
21 | if (check_same_diagonal({b1+change_x,b2+change_y})==false &&check_same_row({b1+change_x,b2+change_y})
| ^~~~~~~~~~~~~~~~~~~
simp.cpp:21:77: error: ‘check_same_row’ was not declared in this scope
21 | if (check_same_diagonal({b1+change_x,b2+change_y})==false &&check_same_row({b1+change_x,b2+change_y})
| ^~~~~~~~~~~~~~
simp.cpp:22:21: error: ‘check_same_column’