Problem psle
User thatlycheeoolongdrink
Submission Time 2024-02-19 16:17:08
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:22:7: error: ‘f’ was not declared in this scope
22 | else f (s >= 35) {
| ^
psle.cpp:34:1: error: expected ‘}’ at end of input
34 | }
| ^
psle.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^