Problem | shortest |
---|---|
User | WH8 |
Submission Time | 2023-10-21 17:10:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shortest.cpp:1:1: error: ‘import’ does not name a type
1 | import math
| ^~~~~~
shortest.cpp:3:1: error: ‘l’ does not name a type
3 | l = 1
| ^
shortest.cpp:5:1: error: ‘cnt’ does not name a type; did you mean ‘int’?
5 | cnt = 0;
| ^~~
| int
shortest.cpp:6:1: error: expected unqualified-id before ‘while’
6 | while l < r:
| ^~~~~
shortest.cpp:8:2: error: expected unqualified-id before ‘if’
8 | if pow(m, 2) > s:
| ^~
shortest.cpp:10:2: error: ‘elif’ does not name a type
10 | elif pow(m, 2) == s:
| ^~~~