Borderou de evaluare (job #2874617)

Utilizator IoanMihaiIoan Mihai IoanMihai Data 19 martie 2022 19:03:06
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:16: warning: array subscript has type 'char' [-Wchar-subscripts] 13 | c[ss[i]] = i; | ^ main.cpp:18:27: warning: array subscript has type 'char' [-Wchar-subscripts] 18 | v.push_back(c[s[4]] + 12 * c[s[3]] + 144 * c[s[2]] + 1728 * c[s[1]] + 20736 * c[s[0]]); | ^ main.cpp:18:42: warning: array subscript has type 'char' [-Wchar-subscripts] 18 | v.push_back(c[s[4]] + 12 * c[s[3]] + 144 * c[s[2]] + 1728 * c[s[1]] + 20736 * c[s[0]]); | ^ main.cpp:18:58: warning: array subscript has type 'char' [-Wchar-subscripts] 18 | v.push_back(c[s[4]] + 12 * c[s[3]] + 144 * c[s[2]] + 1728 * c[s[1]] + 20736 * c[s[0]]); | ^ main.cpp:18:75: warning: array subscript has type 'char' [-Wchar-subscripts] 18 | v.push_back(c[s[4]] + 12 * c[s[3]] + 144 * c[s[2]] + 1728 * c[s[1]] + 20736 * c[s[0]]); | ^ main.cpp:18:93: warning: array subscript has type 'char' [-Wchar-subscripts] 18 | v.push_back(c[s[4]] + 12 * c[s[3]] + 144 * c[s[2]] + 1728 * c[s[1]] + 20736 * c[s[0]]); | ^ main.cpp:22:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for (int i=0;i<v.size();i++){ | ~^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK5
22ms184kbOK5
325ms864kbOK5
449ms1437kbOK5
5102ms2457kbOK5
6208ms6619kbOK5
72ms184kbIncorect0
82ms184kbIncorect0
92ms184kbIncorect0
106ms385kbIncorect0
116ms483kbIncorect0
1216ms651kbIncorect0
1325ms933kbIncorect0
1454ms1437kbIncorect0
1569ms1642kbIncorect0
16102ms2510kbIncorect0
17136ms2940kbIncorect0
18169ms3612kbIncorect0
19223ms6549kbIncorect0
20275ms6529kbIncorect0
Punctaj total30

Ceva nu functioneaza?