Problem psle
User lxmine
Submission Time 2026-02-28 10:26:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:17:28: error: expected ‘;’ before ‘cout’
17 | } else if (s>=20 and s<=34
| ^
| ;
18 | cout << "E";
| ~~~~
psle.cpp:19:2: error: expected primary-expression before ‘}’ token
19 | } else{
| ^
psle.cpp:18:15: error: expected ‘)’ before ‘}’ token
18 | cout << "E";
| ^
| )
19 | } else{
| ~
psle.cpp:17:12: note: to match this ‘(’
17 | } else if (s>=20 and s<=34
| ^
psle.cpp:19:2: error: expected primary-expression before ‘}’ token
19 | } else{
| ^
psle.cpp: At global scope:
psle.cpp:19:4: error: expected unqualified-id before ‘else’
19 | } else{
| ^~~~
psle.cpp:23:1: error: expected declaration before ‘}’ token
23 |