Problem | psle |
---|---|
User | LinelyQwert |
Submission Time | 2023-01-25 15:02:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp:4:5: error: cannot declare ‘::main’ to be a global variable
4 | int main {
| ^~~~
psle.cpp:5:2: error: expected primary-expression before ‘long’
5 | long long a;
| ^~~~
psle.cpp:5:2: error: expected ‘}’ before ‘long’
psle.cpp:4:10: note: to match this ‘{’
4 | int main {
| ^
psle.cpp:6:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin >> a;
| ^~~
| sin
psle.cpp:7:2: error: expected unqualified-id before ‘if’
7 | if (a < 20) {
| ^~
psle.cpp:11:2: error: expected unqualified-id before ‘if’
11 | if (a < 35) {
| ^~
psle.cpp:15:2: error: expected unqualified-id before ‘if’
15 | if (a < 50) {
| ^~
psle.cpp:19:2: error: expected unqualified-id before ‘if’
19 | if (a < 60) {
| ^~
psle.cpp:23:2: error: expected unqualified-id before ‘if’
23 | if (a < 75) {