Borderou de evaluare (job #2313840)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 7 ianuarie 2019 15:20:12
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int M(int)': main.cpp:6:12: error: 'int M(int)' redeclared as different kind of symbol int M(int x) ^ main.cpp:5:33: note: previous declaration 'int M' int d[W],X[2*W],Y[2*W],C[2*W],N,M,c,p[2*W],l[W],n=-1,i; ^ main.cpp:10:16: error: 'M' cannot be used as a function d[x]=M(d[x]); ^ main.cpp: In function 'void R(int, int)': main.cpp:15:10: error: 'M' cannot be used as a function d[M(x)]=M(y); ^ main.cpp:15:16: error: 'M' cannot be used as a function d[M(x)]=M(y); ^ main.cpp: In function 'int main()': main.cpp:34:21: error: 'M' cannot be used as a function if(M(X[p[i]])!=M(Y[p[i]])) ^ main.cpp:34:33: error: 'M' cannot be used as a function if(M(X[p[i]])!=M(Y[p[i]])) ^ Non zero exit status: 1

Ceva nu functioneaza?