Fybonačis

Taškai: 0

Compile: FAIL

phi_bonacci.cpp: In function ‘void rekursija(int)’: phi_bonacci.cpp:10:41: error: return-statement with a value, in function returning 'void' [-fpermissive] if (n<=seka.size()) {return seka[n-1];} ^ phi_bonacci.cpp:15:18: error: invalid operands of types ‘long long int’ and ‘void’ to binary ‘operator+’ suma += rekursija(n-1-i); ^ phi_bonacci.cpp:15:18: error: in evaluation of ‘operator+=(long long int, void)’

nr.resulttimemessage