Borderou de evaluare (job #789414)

Utilizator avatar penguinvanilic Perciun Cristiano penguinvanilic IP ascuns
Problemă Scara Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 oct. 2024 23:00:20 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int scara(int, int)': main.cpp:10:25: error: too few arguments to function 'int scara(int, int)' 10 | return scara(n - k) + scara(n - 1); | ~~~~~^~~~~~~ main.cpp:5:5: note: declared here 5 | int scara(int n, int k) | ^~~~~ main.cpp:10:40: error: too few arguments to function 'int scara(int, int)' 10 | return scara(n - k) + scara(n - 1); | ~~~~~^~~~~~~ main.cpp:5:5: note: declared here 5 | int scara(int n, int k) | ^~~~~