Pagini recente » Borderou de evaluare (job #434267) | Borderou de evaluare (job #2470772) | Borderou de evaluare (job #2621144) | Borderou de evaluare (job #1154831) | Borderou de evaluare (job #2472910)
Borderou de evaluare (job #2472910)
Raport evaluator
Compilare:
main.cpp: In function 'void Insert(TrieNode*, char*)':
main.cpp:34:17: warning: NULL used in arithmetic [-Wpointer-arith]
if(*word == NULL)
^~~~
main.cpp: In function 'void Erase(TrieNode*, char*)':
main.cpp:48:17: warning: NULL used in arithmetic [-Wpointer-arith]
if(*word == NULL)
^~~~
main.cpp: In function 'int CountApparitions(TrieNode*, char*)':
main.cpp:58:17: warning: NULL used in arithmetic [-Wpointer-arith]
if(*word == NULL)
^~~~
main.cpp: In function 'int MaxCommonLength(TrieNode*, char*, int)':
main.cpp:72:17: warning: NULL used in arithmetic [-Wpointer-arith]
if(*word == NULL || node->sons[*word - 'a'] == NULL || node->sons[*word - 'a']-> wordCount == 0)
^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 2ms | 131kb | OK | 5 | 5 |
| 3 | 3ms | 131kb | OK | 5 | 5 |
| 4 | 3ms | 131kb | OK | 5 | 5 |
| 5 | 3ms | 131kb | OK | 5 | 5 |
| 6 | 4ms | 131kb | OK | 5 | 5 |
| 7 | 7ms | 262kb | OK | 5 | 5 |
| 8 | 8ms | 262kb | OK | 5 | 5 |
| 9 | 13ms | 524kb | OK | 5 | 5 |
| 10 | 20ms | 1441kb | OK | 5 | 5 |
| 11 | 23ms | 262kb | OK | 5 | 5 |
| 12 | 43ms | 2883kb | OK | 5 | 5 |
| 13 | 49ms | 2359kb | OK | 5 | 5 |
| 14 | 46ms | 786kb | OK | 5 | 5 |
| 15 | 55ms | 655kb | OK | 5 | 10 |
| 16 | 143ms | 20316kb | OK | 5 |
| 17 | 66ms | 262kb | OK | 5 | 10 |
| 18 | 139ms | 15335kb | OK | 5 |
| 19 | 66ms | 393kb | OK | 5 | 10 |
| 20 | 166ms | 25690kb | OK | 5 |
| Punctaj total | 100 |