Pagini recente » Borderou de evaluare (job #911675) | Borderou de evaluare (job #1781715) | Borderou de evaluare (job #3192162) | Borderou de evaluare (job #1623205) | Borderou de evaluare (job #1250040)
Borderou de evaluare (job #1250040)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
exists[word[0]] = true;
^
user.cpp:34:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
prev[0][s[0]] = 0;
^
user.cpp:35:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
mindel[0] = (exists[s[0]] ? 0 : 1);
^
user.cpp:37:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < s.size(); ++i) {
^
user.cpp:40:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
prev[i][s[i]] = i;
^
user.cpp:50:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (pointer < 0 || prev[pointer][words[j][k]] < 0) {
^
user.cpp:54:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pointer = prev[pointer][words[j][k]] - 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 0ms | 500kb | OK | 10 |
5 | 4ms | 604kb | OK | 10 |
6 | 16ms | 752kb | OK | 10 |
7 | 36ms | 952kb | OK | 10 |
8 | Depăşit | 1256kb | Time limit exceeded. | 0 |
9 | 72ms | 1012kb | OK | 10 |
10 | 116ms | 1248kb | OK | 10 |
Punctaj total | 90 |