Borderou de evaluare (job #3325587)

Utilizator Andreea3425Diaconu Andreea Andreea3425 Data 25 noiembrie 2025 19:33:45
Problema Password1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 27

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:45:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | for (i=0; i<s1.size(); i++) | ~^~~~~~~~~~ main.cpp:46:16: warning: array subscript has type 'char' [-Wchar-subscripts] 46 | f[s1[i]]++; | ^ main.cpp:49:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for (i=0; i<s.size(); i++) | ~^~~~~~~~~ main.cpp:50:16: warning: array subscript has type 'char' [-Wchar-subscripts] 50 | f1[s[i]]++; | ^ main.cpp:52:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | for (i=0; i<s.size(); i++){ | ~^~~~~~~~~ main.cpp:53:19: warning: array subscript has type 'char' [-Wchar-subscripts] 53 | if (f[s[i]] != 0){ | ^ main.cpp:54:24: warning: array subscript has type 'char' [-Wchar-subscripts] 54 | if (nr[s[i]] < f[s[i]]){ | ^ main.cpp:54:34: warning: array subscript has type 'char' [-Wchar-subscripts] 54 | if (nr[s[i]] < f[s[i]]){ | ^ main.cpp:60:24: warning: array subscript has type 'char' [-Wchar-subscripts] 60 | nr[s[i]]++; | ^ main.cpp:63:16: warning: array subscript has type 'char' [-Wchar-subscripts] 63 | f1[s[i]]--; | ^ main.cpp:40:12: warning: variable 'poz' set but not used [-Wunused-but-set-variable] 40 | int i, poz, numar, q1; | ^~~ main.cpp:40:17: warning: unused variable 'numar' [-Wunused-variable] 40 | int i, poz, numar, q1; | ^~~~~ main.cpp:40:24: warning: unused variable 'q1' [-Wunused-variable] 40 | int i, poz, numar, q1; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK728
20ms303kbOK7
30ms303kbOK7
40ms303kbOK7
50ms303kbIncorect00
60ms303kbOK7
70ms557kbIncorect0
81ms557kbIncorect0
93ms1470kbIncorect0
1033ms18116kbIncorect00
1134ms18059kbOK7
1264ms34140kbIncorect0
1323ms9064kbIncorect0
1482ms36364kbIncorect0
1584ms36249kbIncorect0
Punctaj total27

Ceva nu functioneaza?