Pagini recente » Borderou de evaluare (job #945658) | Borderou de evaluare (job #1327181) | Borderou de evaluare (job #628457) | Borderou de evaluare (job #2084571) | Borderou de evaluare (job #1812242)
Borderou de evaluare (job #1812242)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(T*, char*, int)’:
user.cpp:30:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( n -> chl[ch(*str)] == NULL ) {
^
user.cpp:31:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
n -> chl[ch(*str)] = new T; }
^
user.cpp:32:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
insert( n -> chl[ch(*str)], str + 1, pos );
^
user.cpp: In function ‘int count(T*, char*)’:
user.cpp:63:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return count( n -> chl[ch(*str)], str + 1 ); }
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:76:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while( aux != r && aux -> chl[ch(str[i])] == NULL ) {
^
user.cpp:78:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( aux -> chl[ch(str[i])] != NULL ) {
^
user.cpp:79: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 | 560kb | OK | 10 |
2 | 0ms | 560kb | OK | 10 |
3 | 4ms | 708kb | OK | 10 |
4 | 20ms | 1868kb | OK | 10 |
5 | 16ms | 4160kb | OK | 10 |
6 | 20ms | 4188kb | OK | 10 |
7 | 20ms | 4220kb | OK | 10 |
8 | 380ms | 60380kb | OK | 10 |
9 | 192ms | Depăşit | Memory limit exceeded. | 0 |
10 | 60ms | 6592kb | OK | 10 |
Punctaj total | 90 |