Pagini recente » Borderou de evaluare (job #1864168) | Borderou de evaluare (job #1153287)
Borderou de evaluare (job #1153287)
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:54:28: warning: passing NULL to non-pointer argument 1 of ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = char; _Alloc = std::allocator<char>; std::vector<_Tp, _Alloc>::value_type = char]’ [-Wconversion-null]
cuv[i].push_back( NULL );
^
user.cpp: In function ‘int main()’:
user.cpp:82:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
best[i] = best[ maxlast[c] ] + 1;
^
user.cpp:83:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz[i] = maxlast[c];
^
user.cpp:85:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( best[i] > best[ maxlast[ lastchar[i] ] ] )
^
user.cpp:87:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxlast[ lastchar[i] ] = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 656kb | Corect | 10 |
2 | 4ms | 700kb | Corect | 10 |
3 | 4ms | 592kb | Corect | 10 |
4 | 4ms | 588kb | Corect | 10 |
5 | 4ms | 860kb | Corect | 10 |
6 | Depăşit | 568kb | Time limit exceeded. | 0 |
7 | 4ms | 596kb | Corect | 10 |
8 | 20ms | 1740kb | Corect | 10 |
9 | 4ms | 636kb | Corect | 10 |
10 | 4ms | 696kb | Corect | 10 |
Punctaj total | 90 |