Pagini recente » Borderou de evaluare (job #1614089) | Borderou de evaluare (job #908824) | Borderou de evaluare (job #1428935) | Borderou de evaluare (job #1401338) | Borderou de evaluare (job #2879291)
Borderou de evaluare (job #2879291)
Raport evaluator
Compilare:
main.cpp: In function 'void update(trieStr*, long long int)':
main.cpp:27:9: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if(i==str.size()) return;
| ~^~~~~~~~~~~~
main.cpp:28:21: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | if(t->fii[str[i]] == NULL)
| ^
main.cpp:30:22: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | t->fii[str[i]]=new trieStr;
| ^
main.cpp:32:18: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | t->fii[str[i]]->wcnt++;
| ^
main.cpp:33:25: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | update(t->fii[str[i]], i+1);
| ^
main.cpp: In function 'long long int query(trieStr*, long long int)':
main.cpp:43:24: warning: array subscript has type 'char' [-Wchar-subscripts]
43 | t=t->fii[str[i]];
| ^
main.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type]
46 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 35ms | 9584kb | Incorect | 0 |
2 | 19ms | 2928kb | Incorect | 0 |
3 | 14ms | 5369kb | Incorect | 0 |
4 | 210ms | 60108kb | Incorect | 0 |
5 | 363ms | 116879kb | Incorect | 0 |
6 | 1300ms | 241938kb | Incorect | 0 |
7 | 743ms | 262160kb | Memory limit exceeded | 0 |
8 | 835ms | 262164kb | Memory limit exceeded | 0 |
9 | 833ms | 262164kb | Memory limit exceeded | 0 |
10 | 818ms | 262148kb | Memory limit exceeded | 0 |
Punctaj total | 0 |