Problem platonic32
User Nikelodean
Submission Time 2025-12-26 13:22:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic32.cpp: In function ‘int main()’:
platonic32.cpp:8:2: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
8 | num = rand % 2;
| ^~~
| enum
platonic32.cpp:8:13: error: invalid operands of types ‘int() noexcept’ and ‘int’ to binary ‘operator%’
8 | num = rand % 2;
| ~~~~ ^ ~
| | |
| | int
| int() noexcept