Borderou de evaluare (job #3282765)

Utilizator cristian_motognaAndrei Motogna cristian_motogna Data 6 martie 2025 18:56:03
Problema Tastatură defectă Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int numaraTasteDefecte(std::string, std::string)': main.cpp:12:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | while (i < s.size() && j < t.size()) { | ~~^~~~~~~~~~ main.cpp:12:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | while (i < s.size() && j < t.size()) { | ~~^~~~~~~~~~ main.cpp:16:34: warning: array subscript has type 'char' [-Wchar-subscripts] 16 | if (!esteDefecta[t[j]]) { | ^ main.cpp:17:33: warning: array subscript has type 'char' [-Wchar-subscripts] 17 | esteDefecta[t[j]] = true; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?