Borderou de evaluare (job #2187665)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 26 martie 2018 17:50:59
Problema Turnuri5 Status done
Runda Grigore Moisil 2018 Clasele 11-12 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:5: error: ‘vector’ does not name a type vector<pair<int,int> > tmp; ^~~~~~ user.cpp: In function ‘int main()’: user.cpp:68:20: error: ‘struct turnul’ has no member named ‘tmp’ V[len].tmp.clear(); ^~~ user.cpp:70:16: error: ‘struct turnul’ has no member named ‘tmp’ V[len].tmp.push_back(make_pair(V[len].l,V[len].r)); ^~~ user.cpp:86:27: error: ‘struct turnul’ has no member named ‘tmp’ for(auto it2:V[i].tmp){ ^~~ user.cpp:43:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d",&N,&M,&T); ^ user.cpp:49:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d",&V[i].h,&V[i].l,&V[i].r); ^

Ceva nu functioneaza?