Pagini recente » Borderou de evaluare (job #693895) | Borderou de evaluare (job #3029411) | Borderou de evaluare (job #1878095) | Borderou de evaluare (job #1337084) | Borderou de evaluare (job #1812258)
Borderou de evaluare (job #1812258)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(T*, char*, int)’:
user.cpp:31:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( n -> chl[ch(*str)] == NULL ) {
^
user.cpp:32:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
n -> chl[ch(*str)] = new T; }
^
user.cpp:33:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
insert( n -> chl[ch(*str)], str + 1, pos );
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:72:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while( aux != r && aux -> chl[ch(str[i])] == NULL ) {
^
user.cpp:74:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( aux -> chl[ch(str[i])] != NULL ) {
^
user.cpp:75:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux = aux -> chl[ch(str[i])]; }
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 552kb | OK | 10 |
| 2 | 0ms | 528kb | OK | 10 |
| 3 | 4ms | 572kb | OK | 10 |
| 4 | 20ms | 1084kb | OK | 10 |
| 5 | 16ms | 4028kb | OK | 10 |
| 6 | 20ms | 4060kb | OK | 10 |
| 7 | 20ms | 4092kb | OK | 10 |
| 8 | 380ms | 59600kb | OK | 10 |
| 9 | 228ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 56ms | 5808kb | OK | 10 |
| Punctaj total | 90 |