Fybonačis
- [1] 2021-11-13 15:21 (0)
- [2] 2021-11-13 15:21 (25.8)
- [3] 2021-11-13 16:02 (25.8)
- [4] 2021-11-17 08:41 (25.8)
- [5] 2021-11-17 08:43 (0)
- [6] 2021-11-17 08:54 (16.1)
- [7] 2021-11-17 08:55 (45.2)
- [8] 2021-11-17 08:57 (45.2)
- [9] 2021-11-17 09:06 (45.2)
- [10] 2021-11-17 09:10 (45.2)
- [11] 2021-11-17 16:18 (100)
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. | result | time | message |
---|