Borderou de evaluare (job #2718801)

Utilizator vansJos da pa perete vans Data 9 martie 2021 10:39:52
Problema Pixeli Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:13:1: error: 'map' does not name a type map<string, i64> mp; ^~~ main.cpp: In function 'void solve1(std::__cxx11::string)': main.cpp:16:16: error: 'mp' was not declared in this scope i64 dif = (mp[X] ? -1 : 1); ^~ main.cpp:19:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i64 i = 0; i < X.size(); ++i) ~~^~~~~~~~~~ main.cpp: In function 'i64 solve2(std::__cxx11::string)': main.cpp:24:8: error: 'mp' was not declared in this scope if(mp[X]) return 0; ^~ main.cpp:27:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i64 i = 0; i < X.size(); ++i) { ~~^~~~~~~~~~ main.cpp:28:12: error: 'mp' was not declared in this scope if(mp[crt]) sz /= 2; ^~ Non zero exit status: 1

Ceva nu functioneaza?