Borderou de evaluare (job #1737896)

Utilizator vendettaSalajan Razvan vendetta Data 5 august 2016 11:30:02
Problema Ksecv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:67:26: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’ update(dp[currLine][j], dp[prevLine][pos] + a[j]); ^ user.cpp:30:6: error: in passing argument 1 of ‘void update(long long int&, long long int)’ void update(ll &x, ll y) { ^ user.cpp:69:26: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’ update(dp[currLine][j], minn + a[j]); ^ user.cpp:30:6: error: in passing argument 1 of ‘void update(long long int&, long long int)’ void update(ll &x, ll y) { ^ user.cpp:73:25: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’ update(dp[currLine][j], dp[currLine][pos]); ^ user.cpp:30:6: error: in passing argument 1 of ‘void update(long long int&, long long int)’ void update(ll &x, ll y) { ^

Ceva nu functioneaza?