Mai intai trebuie sa te autentifici.

Borderou de evaluare (job #2729273)

Utilizator ionicaion ionica Data 24 martie 2021 15:31:14
Problema Radio2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:15:21: error: 'vector' was not declared in this scope unordered_map <int, vector <int> > H; ^~~~~~ main.cpp:15:32: error: template argument 2 is invalid unordered_map <int, vector <int> > H; ^ main.cpp:15:32: error: template argument 5 is invalid main.cpp:15:34: error: expected unqualified-id before '>' token unordered_map <int, vector <int> > H; ^ main.cpp: In function 'void buildHash(int)': main.cpp:29:5: error: 'H' was not declared in this scope H[x].push_back(1);///unde incepe secventa ^ main.cpp: In function 'int main()': main.cpp:65:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] fin >> A+1; ~^~ main.cpp:76:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] fin >> B+1; ~^~ main.cpp:90:17: error: 'H' was not declared in this scope if (H.find(x) != H.end())///l-am gasit ^ Non zero exit status: 1

Ceva nu functioneaza?