Problem simp
User Slayer
Submission Time 2025-12-05 11:31:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:15:5: error: expected ‘,’ or ‘;’ before ‘if’
15 | if (midpoint_column == a1 || midpoint_row == a2|| gradient == 1 || gradient == -1) {
| ^~
simp.cpp:18:5: error: ‘else’ without a previous ‘if’
18 | else {
| ^~~~