Borderou de evaluare (job #3315435)

Utilizator popescu_georgePopescu George popescu_george Data 14 octombrie 2025 09:39:48
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 main()': main.cpp:23:5: error: 'sort' was not declared in this scope; did you mean 'short'? 23 | sort(v,v+m,A); | ^~~~ | short main.cpp:28:15: error: 'r' was not declared in this scope 28 | p[r++]=i,s+=v[i].c,t[j]=k; | ^ main.cpp:28:22: error: 's' was not declared in this scope 28 | p[r++]=i,s+=v[i].c,t[j]=k; | ^ main.cpp:30:11: error: 's' was not declared in this scope 30 | cout<<s<<'\n'<<r<<'\n'; | ^ main.cpp:30:20: error: 'r' was not declared in this scope 30 | cout<<s<<'\n'<<r<<'\n'; | ^ Non zero exit status: 1

Ceva nu functioneaza?