Borderou de evaluare (job #2874612)

Utilizator IoanMihaiIoan Mihai IoanMihai Data 19 martie 2022 18:57:58
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
325ms929kbOK5
454ms1413kbOK5
5112ms2478kbOK5
6223ms6561kbOK5
72ms184kbIncorect0
82ms184kbIncorect0
92ms184kbIncorect0
106ms323kbIncorect0
116ms401kbIncorect0
1216ms630kbIncorect0
1330ms872kbIncorect0
1459ms1490kbIncorect0
1574ms1728kbIncorect0
16112ms2478kbIncorect0
17146ms3104kbIncorect0
18184ms3842kbIncorect0
19237ms6590kbIncorect0
20295ms6832kbIncorect0
Punctaj total30

Ceva nu functioneaza?