Borderou de evaluare (job #2950533)

Utilizator raileanu-alin-gabrielRaileanu Alin-Gabriel raileanu-alin-gabriel Data 3 decembrie 2022 23:25:39
Problema Progr2 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:1: error: 'map' does not name a type 8 | map<int, int> cnt; | ^~~ main.cpp: In function 'void test()': main.cpp:26:6: error: 'cnt' was not declared in this scope; did you mean 'int'? 26 | if(cnt.size()) cnt.clear(); | ^~~ | int main.cpp:35:11: error: 'cnt' was not declared in this scope; did you mean 'int'? 35 | hsh=cnt[hsh]; | ^~~ | int main.cpp:39:5: error: 'cnt' was not declared in this scope; did you mean 'int'? 39 | cnt[v[i]]=i; | ^~~ | int Non zero exit status: 1

Ceva nu functioneaza?