Borderou de evaluare (job #2844360)

Utilizator puica2018Puica Andrei puica2018 Data 4 februarie 2022 12:39:07
Problema Popeala Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int f(int, int, int, int)': main.cpp:19:12: error: expected primary-expression before ')' token 19 | if() | ^ main.cpp:20:1: error: expected primary-expression before '}' token 20 | } | ^ main.cpp:20:1: warning: no return statement in function returning non-void [-Wreturn-type] main.cpp: In function 'int main()': main.cpp:24:10: error: expected primary-expression before '>' token 24 | fin>>>n>>t>>s; | ^ main.cpp:47:31: error: invalid types 'int [55][20005][int*]' for array subscript 47 | dp[i][j]=min(mpref[p-1][j-1],dp[d.front()][j-1]+f(1,d.front(),n,i)*s(d.front()+1,i)); | ^ main.cpp:47:95: error: 's' cannot be used as a function 47 | dp[i][j]=min(mpref[p-1][j-1],dp[d.front()][j-1]+f(1,d.front(),n,i)*s(d.front()+1,i)); | ^ Non zero exit status: 1

Ceva nu functioneaza?