Problem psle
User thatlycheeoolongdrink
Submission Time 2024-02-19 16:17:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:8:3: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
8 | return;
| ^~~~~~
psle.cpp:12:3: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
12 | return;
| ^~~~~~
psle.cpp:16:3: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
16 | return;
| ^~~~~~
psle.cpp:20:3: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
20 | return;
| ^~~~~~
psle.cpp:24:3: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
24 | return;
| ^~~~~~
psle.cpp:25:2: error: expected primary-expression before ‘]’ token
25 | ]
| ^
psle.cpp:30:2: error: expected ‘}’ before ‘else’
30 | else {
| ^~~~
psle.cpp:22:20: note: to match this ‘{’
22 | else if (s >= 35