Borderou de evaluare (job #1031395)

Utilizator gogol100vrabie gelu gogol100 Data 15 noiembrie 2013 17:53:30
Problema Melodii Status done
Runda FMI No Stress 4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int fib(int, int)’: user.cpp:7:29: error: too few arguments to function ‘int fib(int, int)’ if(n>=3) return (fib(n-1)+fib(n-2))%r; ^ user.cpp:5:5: note: declared here int fib(int n,int r) ^ user.cpp:7:38: error: too few arguments to function ‘int fib(int, int)’ if(n>=3) return (fib(n-1)+fib(n-2))%r; ^ user.cpp:5:5: note: declared here int fib(int n,int r) ^ user.cpp:10:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?