Problem lazy_robot
User ethanK1RB0
Submission Time 2026-11-06 13:40:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lazy_robot.cpp:5:8: error: cannot declare ‘::main’ to be a global variable
5 | int a, main;
| ^~~~
cc1plus: error: ‘::main’ must return ‘int’
lazy_robot.cpp:7:10: error: ‘int main()’ redeclared as different kind of entity
7 | int main(){
| ^
lazy_robot.cpp:5:8: note: previous declaration ‘long long int main’
5 | int a, main;
| ^~~~
lazy_robot.cpp: In function ‘int main()’:
lazy_robot.cpp:9:12: error: lvalue required as left operand of assignment
9 | if (a%2 = 0) {
| ^