Problem shortest
User WH8
Submission Time 2023-01-14 09:44:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shortest.cpp:7:3: error: invalid preprocessing directive #print
7 | #print(m);
| ^~~~~
shortest.cpp:1:1: error: ‘n’ does not name a type
1 | n = int(input());
| ^
shortest.cpp:2:1: error: ‘l’ does not name a type
2 | l = 0
| ^
shortest.cpp:8:2: error: ‘s’ does not name a type
8 | s = m ** 2;
| ^
shortest.cpp:9:2: error: expected unqualified-id before ‘if’
9 | if s == n:
| ^~
shortest.cpp:16:6: error: expected constructor, destructor, or type conversion before ‘(’ token
16 | print(round(ans));
| ^