Borderou de evaluare (job #801795)

Utilizator avatar alexp111 Puiu Alexandru-Ilie alexp111 IP ascuns
Problemă Criptare (clasa a 10-a) Compilator cpp-32
Rundă cexgj_10_olimpiada_locala Status evaluat
Dată 30 dec. 2024 15:27:15 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool este_criptare(const std::string&, const std::string&)': main.cpp:12:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 12 | for (int i = 1; i < K.length(); i++) { | ~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:40:26: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions] 40 | for (const auto& [cuvant, aparitii] : solutii) { | ^