Problem | thumper2 |
---|---|
User | yanganyi |
Submission Time | 2025-04-02 17:25:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
thumper2.cpp: In function ‘void moveRabbit(Rabbit&, const Rabbit&)’:
thumper2.cpp:25:5: error: expected ‘}’ before ‘else’
25 | else moved.row+=2*rowDir;
| ^~~~
thumper2.cpp:22:31: note: to match this ‘{’
22 | else if (rowDiff==colDiff){
| ^