Borderou de evaluare (job #2792164)

Utilizator Teodor94Teodor Plop Teodor94 Data 1 noiembrie 2021 00:47:40
Problema Progr Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:38:1: error: 'vector' does not name a type 38 | vector< vector<int> > myHash; | ^~~~~~ main.cpp: In function 'bool find(int)': main.cpp:49:14: error: 'myHash' was not declared in this scope 49 | while (i < myHash[hash].size() && myHash[hash][i] != value) | ^~~~~~ main.cpp:52:14: error: 'myHash' was not declared in this scope 52 | return i < myHash[hash].size(); | ^~~~~~ main.cpp: In function 'void insert(int)': main.cpp:60:14: error: 'myHash' was not declared in this scope 60 | while (i < myHash[hash].size() && myHash[hash][i] != value) | ^~~~~~ main.cpp:63:12: error: 'myHash' was not declared in this scope 63 | if (i == myHash[hash].size()) | ^~~~~~ main.cpp: In function 'void init()': main.cpp:67:3: error: 'myHash' was not declared in this scope 67 | myHash.resize(HASH_SIZE); | ^~~~~~ main.cpp: In function 'void clear()': main.cpp:70:3: error: 'myHash' was not declared in this scope 70 | myHash.clear(); | ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?