Pagini recente » Borderou de evaluare (job #544914) | Borderou de evaluare (job #210374) | Borderou de evaluare (job #2317193) | Borderou de evaluare (job #478368) | Borderou de evaluare (job #1153297)
Borderou de evaluare (job #1153297)
Raport evaluator
Compilare:
user.cpp: In function ‘void ComputeLine(char*)’:
user.cpp:29: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:50: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:78:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
best[i] = best[ maxlast[c] ] + 1;
^
user.cpp:79:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz[i] = maxlast[c];
^
user.cpp:81:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( best[i] > best[ maxlast[ lastchar[i] ] ] )
^
user.cpp:83:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxlast[ lastchar[i] ] = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 652kb | Corect | 10 |
2 | 4ms | 696kb | Corect | 10 |
3 | 4ms | 596kb | Corect | 10 |
4 | 4ms | 588kb | Corect | 10 |
5 | 4ms | 860kb | Corect | 10 |
6 | Depăşit | 572kb | Time limit exceeded. | 0 |
7 | 4ms | 592kb | Corect | 10 |
8 | 20ms | 1740kb | Corect | 10 |
9 | 4ms | 636kb | Corect | 10 |
10 | 4ms | 700kb | Corect | 10 |
Punctaj total | 90 |