Borderou de evaluare (job #2267223)

Utilizator iarinatudorTudor Iarina Maria iarinatudor Data 23 octombrie 2018 14:36:08
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 'void citire()': main.cpp:35:33: error: expected ')' before ';' token while(fin>>a.m.x>>a.m.y>>a.c;) ^ main.cpp:35:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(fin>>a.m.x>>a.m.y>>a.c;) ^~~~~ main.cpp:35:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' while(fin>>a.m.x>>a.m.y>>a.c;) ^ main.cpp:35:34: error: expected primary-expression before ')' token main.cpp: In function 'void Prim()': main.cpp:70:13: error: 'dat' was not declared in this scope dat[max(dx,dy)]=din(dx,dy);///tatal lui x il primeste pe tatal lui y ^~~ main.cpp:70:38: error: 'din' was not declared in this scope dat[max(dx,dy)]=din(dx,dy);///tatal lui x il primeste pe tatal lui y ^ Non zero exit status: 1

Ceva nu functioneaza?