Problem platonic10
User loafie
Submission Time 2026-01-18 21:54:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic10.cpp:4:5: error: cannot declare ‘::main’ to be a global variable
4 | int main {
| ^~~~
platonic10.cpp:5:5: error: expected primary-expression before ‘a’
5 | ll a;
| ^
platonic10.cpp:5:5: error: expected ‘}’ before ‘a’
platonic10.cpp:4:10: note: to match this ‘{’
4 | int main {
| ^
platonic10.cpp:6:2: error: ‘cin’ does not name a type
6 | cin >> a;
| ^~~
platonic10.cpp:7:2: error: expected unqualified-id before ‘if’
7 | if (a<5){
| ^~
platonic10.cpp:9:3: error: expected unqualified-id before ‘else’
9 | }else{
| ^~~~