Problem | psle |
---|---|
User | Orson |
Submission Time | 2025-08-24 12:47:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:6:5: error: expected ‘(’ before ‘a’
6 | if a<20{
| ^
| (
psle.cpp:8:3: error: ‘else’ without a previous ‘if’
8 | }else{if (a<35){
| ^~~~
psle.cpp:18:20: error: expected ‘;’ before ‘}’ token
18 | }else{cout << "A*"}
| ^
| ;
psle.cpp:20:1: error: expected ‘}’ at end of input
20 | }
| ^
psle.cpp:14:7: note: to match this ‘{’
14 | }else{if (a<75){
| ^
psle.cpp:20:1: error: expected ‘}’ at end of input
20 | }
| ^
psle.cpp:12:7: note: to match this ‘{’
12 | }else{if (a<60){
| ^
psle.cpp:20:1: error: expected ‘}’ at end of input
20 | }
| ^
psle.cpp:10:7: note: to match this ‘{’
10 | }else{if (a<50){
| ^
psle.cpp:20:1: error: expected ‘}’ at end of input
20 | }