Borderou de evaluare (job #3341266)

Utilizator Stefan____Purcar Stefan Stefan____ Data 18 februarie 2026 19:11:31
Problema Tastatură defectă Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void solve(std::ifstream&, std::ofstream&)': main.cpp:25:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 25 | while(i < str1.length() || j < str2.length()){ | ~~^~~~~~~~~~~~~~~ main.cpp:25:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 25 | while(i < str1.length() || j < str2.length()){ | ~~^~~~~~~~~~~~~~~ main.cpp:30:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | while(i < str1.length() && str1[i] == str1[i - 1]){ | ~~^~~~~~~~~~~~~~~ main.cpp:36:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | while(j < str2.length() && str2[j] == str2[j - 1]){ | ~~^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK100
Punctaj total100

Ceva nu functioneaza?