Pagini recente » Borderou de evaluare (job #2109887) | Borderou de evaluare (job #2399156) | Borderou de evaluare (job #1190498) | Borderou de evaluare (job #1159692) | Borderou de evaluare (job #2399165)
Borderou de evaluare (job #2399165)
Raport evaluator
Compilare:
main.cpp: In function 'void Insert(Trie*, char*)':
main.cpp:22:15: warning: NULL used in arithmetic [-Wpointer-arith]
if(*word==NULL)
^~~~
main.cpp: In function 'void Erase(Trie*, char*)':
main.cpp:34:15: warning: NULL used in arithmetic [-Wpointer-arith]
if(*word==NULL)
^~~~
main.cpp: In function 'short int CountApparition(Trie*, char*)':
main.cpp:43:15: warning: NULL used in arithmetic [-Wpointer-arith]
if(*word==NULL)
^~~~
main.cpp: In function 'short int Prefix(Trie*, char*, short int)':
main.cpp:51:15: warning: NULL used in arithmetic [-Wpointer-arith]
if(*word==NULL||node->son[*word-'a']==NULL||node->son[*word-'a']->wordcount==0)
^~~~
main.cpp: In function 'int main()':
main.cpp:59:36: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
while(scanf("%d%s", &type, word) == 2)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 2ms | 131kb | OK | 5 | 5 |
| 3 | 2ms | 131kb | OK | 5 | 5 |
| 4 | 3ms | 131kb | OK | 5 | 5 |
| 5 | 3ms | 131kb | OK | 5 | 5 |
| 6 | 4ms | 131kb | OK | 5 | 5 |
| 7 | 6ms | 131kb | OK | 5 | 5 |
| 8 | 8ms | 131kb | OK | 5 | 5 |
| 9 | 13ms | 524kb | OK | 5 | 5 |
| 10 | 20ms | 1441kb | OK | 5 | 5 |
| 11 | 23ms | 262kb | OK | 5 | 5 |
| 12 | 44ms | 2752kb | OK | 5 | 5 |
| 13 | 48ms | 2359kb | OK | 5 | 5 |
| 14 | 47ms | 655kb | OK | 5 | 5 |
| 15 | 55ms | 655kb | OK | 5 | 10 |
| 16 | 144ms | 20316kb | OK | 5 |
| 17 | 53ms | 262kb | OK | 5 | 10 |
| 18 | 138ms | 15204kb | OK | 5 |
| 19 | 52ms | 262kb | OK | 5 | 0 |
| 20 | 111ms | 20496kb | Memory limit exceeded | 0 |
| Punctaj total | 90 |