Borderou de evaluare (job #2989481)

Utilizator CelestinNegraru Celestin Celestin Data 6 martie 2023 18:05:34
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

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
10ms172kbOK55
20ms172kbOK55
30ms172kbOK55
40ms172kbOK55
50ms172kbOK55
60ms172kbOK55
71ms303kbOK55
81ms303kbOK55
91ms565kbOK55
102ms1482kbOK55
112ms303kbOK55
124ms2793kbOK55
134ms2400kbOK55
144ms827kbOK55
154ms696kbOK510
1619ms19070kbOK5
174ms303kbOK510
1818ms14032kbOK5
194ms303kbOK510
2024ms24985kbOK5
Punctaj total100

Ceva nu functioneaza?