Problem | psle |
---|---|
User | Kartikkk |
Submission Time | 2024-02-18 16:47:12 |
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 ‘int’
5 | int a;
| ^~~
psle.cpp:5:2: error: expected ‘}’ before ‘int’
psle.cpp:4:10: note: to match this ‘{’
4 | int main {
| ^
psle.cpp:7:2: error: expected unqualified-id before ‘if’
7 | if (a >= 91) {
| ^~
psle.cpp:10:2: error: expected unqualified-id before ‘else’
10 | else if (a >= 75) {
| ^~~~
psle.cpp:13:2: error: expected unqualified-id before ‘else’
13 | else if (a >= 60) {
| ^~~~
psle.cpp:16:2: error: expected unqualified-id before ‘else’
16 | else if (a >= 50) {
| ^~~~
psle.cpp:19:2: error: expected unqualified-id before ‘else’
19 | else if (a >= 35) {
| ^~~~
psle.cpp:22:2: error: expected unqualified-id before ‘else’
22 | else if (a &g