Problem | lazy_robot |
---|---|
User | Lotr1 |
Submission Time | 2025-08-20 17:15:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lazy_robot.cpp: In function ‘int main()’:
lazy_robot.cpp:7:9: error: expected primary-expression before ‘long’
7 | if (long long(N % 2 == 0 ) { // conditions must be in brackets and {} are used
| ^~~~
lazy_robot.cpp:9:7: error: expected primary-expression before ‘else’
9 | } else {
| ^~~~
lazy_robot.cpp:9:6: error: expected ‘)’ before ‘else’
9 | } else {
| ^~~~~
| )
lazy_robot.cpp:7:8: note: to match this ‘(’
7 | if (long long(N % 2 == 0 ) { // conditions must be in brackets and {} are used
| ^