Fybonačis

Taškai: 0

Compile: FAIL

phi_bonacci.cpp: In function ‘int main()’: phi_bonacci.cpp:12:5: error: expected ‘,’ or ‘;’ before ‘ll’ 12 | ll x[n]; | ^~ phi_bonacci.cpp:14:16: error: ‘x’ was not declared in this scope 14 | cin >> x[i]; | ^ phi_bonacci.cpp:18:16: error: ‘x’ was not declared in this scope 18 | sum += x[i]; //+1 | +1 | ^ phi_bonacci.cpp:19:7: error: ‘x’ was not declared in this scope 19 | } x[phi] = sum; //2; 1 1 2 | ^

nr.resulttimemessage