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

Compile Error

psle.cpp:3:1: error: ‘::main’ must return ‘int’
3 | string main() {
| ^~~~~~
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 | el