Problem typicalstairs
User justin271828
Submission Time 2023-06-19 15:44:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typicalstairs.cpp: In function ‘int fibo(int)’:
typicalstairs.cpp:12:12: error: a function-definition is not allowed here before ‘{’ token
12 | int main() {
| ^
typicalstairs.cpp:32:1: error: expected ‘}’ at end of input
32 | }
| ^
typicalstairs.cpp:4:17: note: to match this ‘{’
4 | int fibo(int a) { //1st 1 2nd 1 3rd 2
| ^