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