Pagini recente » Borderou de evaluare (job #2588882) | Borderou de evaluare (job #2366141) | Borderou de evaluare (job #2131746) | Borderou de evaluare (job #2680309) | Borderou de evaluare (job #2581140)
Borderou de evaluare (job #2581140)
Raport evaluator
Compilare:
main.cpp: In function 'void _insert(std::__cxx11::string&)':
main.cpp:24:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < s.size()) {
~~^~~~~~~~~~
main.cpp:26:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] == 0) {
^
main.cpp:27:24: warning: array subscript has type 'char' [-Wchar-subscripts]
curr->nxt[c] = new Node();
^
main.cpp:29:27: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In function 'void _count(int, int)':
main.cpp:42:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c]) {
^
main.cpp:43:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In function 'int main()':
main.cpp:65:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < S.size(); ++i)
~~^~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 47ms | 393kb | Incorect | 0 |
| 2 | 50ms | 262kb | Incorect | 0 |
| 3 | 9ms | 393kb | Incorect | 0 |
| 4 | 36ms | 1835kb | OK | 10 |
| 5 | 49ms | 6684kb | Incorect | 0 |
| 6 | 60ms | 6684kb | OK | 10 |
| 7 | 72ms | 6684kb | Incorect | 0 |
| 8 | 143ms | 65552kb | Memory limit exceeded | 0 |
| 9 | 139ms | 65552kb | Memory limit exceeded | 0 |
| 10 | 218ms | 11665kb | Incorect | 0 |
| Punctaj total | 20 |