| Problem | psle |
|---|---|
| User | Yichen |
| Submission Time | 2026-05-05 12:33:26 |
| 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:13:2: error: expected primary-expression before ‘int’
13 | int t; cin >> t;
| ^~~
psle.cpp:13:2: error: expected ‘}’ before ‘int’
psle.cpp:4:10: note: to match this ‘{’
4 | int main {
| ^
psle.cpp:13:9: error: ‘cin’ does not name a type; did you mean ‘sin’?
13 | int t; cin >> t;
| ^~~
| sin
psle.cpp:14:2: error: expected unqualified-id before ‘if’
14 | if (t >=91) cout << "A*";
| ^~
psle.cpp:15:2: error: expected unqualified-id before ‘else’
15 | else if (t>=74) cout << "A";
| ^~~~
psle.cpp:16:2: error: expected unqualified-id before ‘else’
16 | else if (t >= 60) cout << "B";
| ^~~~
psle.cpp:17:2: error: expected unqualified-id before ‘else’
17 | else if (t >= 50)