Borderou de evaluare (job #2906961)

Utilizator iulitaalpetriIulita Alpetri iulitaalpetri Data 28 mai 2022 01:31:24
Problema Progr Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:23:13: error: 'myHash' was not declared in this scope 23 | myHash[ v[i] % M ].insert(v[i]); | ^~~~~~ main.cpp:23:28: error: 'M' was not declared in this scope 23 | myHash[ v[i] % M ].insert(v[i]); | ^ main.cpp:33:44: error: 'M' was not declared in this scope 33 | if (nxt < 0 || vect[ nxt % M ].find(nxt) == vect[ nxt % M ].end()) cnt++; | ^ main.cpp:39:51: error: 'M' was not declared in this scope 39 | for (int i = 1; i <= n; i++) vect[ v[i] % M ].clear(); | ^ Non zero exit status: 1

Ceva nu functioneaza?