Pagini recente » Borderou de evaluare (job #235561) | Borderou de evaluare (job #596922) | Borderou de evaluare (job #1685980) | Borderou de evaluare (job #964235) | Borderou de evaluare (job #1153274)
Borderou de evaluare (job #1153274)
Raport evaluator
Compilare:
user.cpp: In function ‘void ComputeLine(char*)’:
user.cpp:31:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[ lastchar[nrcuv] ].push_back( nrcuv );
^
user.cpp: In function ‘void print(short int)’:
user.cpp:56:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( k = 0; k < cuv[i].size(); ++k )
^
user.cpp:59:16: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
toprint[k] = NULL;
^
user.cpp: In function ‘int main()’:
user.cpp:87:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
best[i] = best[ maxlast[c] ] + 1;
^
user.cpp:88:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz[i] = maxlast[c];
^
user.cpp:90:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( best[i] > best[ maxlast[ lastchar[i] ] ] )
^
user.cpp:92:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxlast[ lastchar[i] ] = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 644kb | Corect | 10 |
2 | 4ms | 664kb | Corect | 10 |
3 | 4ms | 592kb | Corect | 10 |
4 | 4ms | 592kb | Corect | 10 |
5 | 4ms | 844kb | Corect | 10 |
6 | Depăşit | 560kb | Time limit exceeded. | 0 |
7 | 4ms | 588kb | Corect | 10 |
8 | 20ms | 1536kb | Corect | 10 |
9 | 4ms | 628kb | Corect | 10 |
10 | 4ms | 668kb | Corect | 10 |
Punctaj total | 90 |