Borderou de evaluare (job #2839574)

Utilizator raulandreipopRaul-Andrei Pop raulandreipop Data 26 ianuarie 2022 10:16:27
Problema Vip Status done
Runda oni_2019_cl10_ziua2 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:27:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 27 | for (int i = 0; i < s1.size(); i++) | ~~^~~~~~~~~~~ main.cpp:31:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for (int i = 0; i < s2.size(); i++) | ~~^~~~~~~~~~~ main.cpp:45:31: 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 (int i = 0; i < s1.size(); i++) | ~~^~~~~~~~~~~ main.cpp:63:38: warning: array subscript has type 'char' [-Wchar-subscripts] 63 | av -= ((f2[pos[i]] > f1[pos[i]] - 1) ? 1 : 0); | ^ main.cpp:63:51: warning: array subscript has type 'char' [-Wchar-subscripts] 63 | av -= ((f2[pos[i]] > f1[pos[i]] - 1) ? 1 : 0); | ^ main.cpp:71:38: warning: array subscript has type 'char' [-Wchar-subscripts] 71 | av -= ((f2[pos[i]] > f1[pos[i]] - 1) ? 1 : 0) | ^ main.cpp:71:51: warning: array subscript has type 'char' [-Wchar-subscripts] 71 | av -= ((f2[pos[i]] > f1[pos[i]] - 1) ? 1 : 0) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbNu este o anagrama.0
22ms184kbLungimea sirului nu este buna.0
32ms184kbLungimea sirului nu este buna.0
4189ms1110kbLungimea sirului nu este buna.0
52ms184kbNu este o anagrama.0
616ms331kbNu este o anagrama.0
7184ms1122kbNu este o anagrama.0
840ms864kbNu este o anagrama.0
9122ms1781kbNu este o anagrama.0
10117ms1388kbLungimea sirului nu este buna.0
1164ms917kbNu este o anagrama.0
12117ms1888kbNu este o anagrama.0
Punctaj total0

Ceva nu functioneaza?