Borderou de evaluare (job #2356768)

Utilizator Anastasia11Susciuc Anastasia Anastasia11 Data 26 februarie 2019 21:31:01
Problema Ninjago Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:24:1: error: 'vector' does not name a type vector <muchie> w; ^~~~~~ main.cpp: In function 'int main()': main.cpp:55:9: error: 'w' was not declared in this scope w.push_back( x ); ^ main.cpp:64:10: error: 'w' was not declared in this scope sort(w.begin(), w.end()); ^ main.cpp:67:19: error: unable to deduce 'auto&&' from 'w' for (auto i : w) ^ main.cpp:77:18: error: 'y' was not declared in this scope if (x == y) ^ main.cpp:84:24: error: 'y' was not declared in this scope if (gr[x] < gr[y]) ^ main.cpp:86:21: error: 'y' was not declared in this scope gr[x] += gr[y]; ^ Non zero exit status: 1

Ceva nu functioneaza?