Pagini recente » Borderou de evaluare (job #284352) | Borderou de evaluare (job #36309) | Borderou de evaluare (job #1070751) | Borderou de evaluare (job #334083) | Borderou de evaluare (job #2989481)
Borderou de evaluare (job #2989481)
Raport evaluator
Compilare:
main.cpp: In constructor 'Trie::Trie()':
main.cpp:12:20: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
12 | memset(fii,NULL,sizeof(fii));
| ^~~~
In file included from /usr/include/c++/12.2.1/cstring:42,
from main.cpp:3:
/usr/include/string.h:61:37: note: declared here
61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
| ~~~~^~~
main.cpp: In function 'void insert(Trie*, char*)':
main.cpp:22:12: warning: NULL used in arithmetic [-Wpointer-arith]
22 | if(*s==NULL)
| ^~~~
main.cpp: In function 'bool del(Trie*, char*)':
main.cpp:32:12: warning: NULL used in arithmetic [-Wpointer-arith]
32 | if(*s==NULL)
| ^~~~
main.cpp: In function 'int query(Trie*, char*)':
main.cpp:48:12: warning: NULL used in arithmetic [-Wpointer-arith]
48 | if(*s==NULL)
| ^~~~
main.cpp: In function 'int prefix(Trie*, char*, int)':
main.cpp:56:12: warning: NULL used in arithmetic [-Wpointer-arith]
56 | if(*s==NULL||r->fii[ord(s)]==nullptr)
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 172kb | OK | 5 | 5 |
| 2 | 0ms | 172kb | OK | 5 | 5 |
| 3 | 0ms | 172kb | OK | 5 | 5 |
| 4 | 0ms | 172kb | OK | 5 | 5 |
| 5 | 0ms | 172kb | OK | 5 | 5 |
| 6 | 0ms | 172kb | OK | 5 | 5 |
| 7 | 1ms | 303kb | OK | 5 | 5 |
| 8 | 1ms | 303kb | OK | 5 | 5 |
| 9 | 1ms | 565kb | OK | 5 | 5 |
| 10 | 2ms | 1482kb | OK | 5 | 5 |
| 11 | 2ms | 303kb | OK | 5 | 5 |
| 12 | 4ms | 2793kb | OK | 5 | 5 |
| 13 | 4ms | 2400kb | OK | 5 | 5 |
| 14 | 4ms | 827kb | OK | 5 | 5 |
| 15 | 4ms | 696kb | OK | 5 | 10 |
| 16 | 19ms | 19070kb | OK | 5 |
| 17 | 4ms | 303kb | OK | 5 | 10 |
| 18 | 18ms | 14032kb | OK | 5 |
| 19 | 4ms | 303kb | OK | 5 | 10 |
| 20 | 24ms | 24985kb | OK | 5 |
| Punctaj total | 100 |