Pagini recente » Borderou de evaluare (job #108446) | Borderou de evaluare (job #745226) | Borderou de evaluare (job #505187) | Borderou de evaluare (job #42863) | Borderou de evaluare (job #2162119)
Borderou de evaluare (job #2162119)
Raport evaluator
Compilare:
user.cpp: In constructor ‘TrieNode::TrieNode(int)’:
user.cpp:18:42: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(child, NULL, sizeof(child));
^
user.cpp: In function ‘void insertWord(TrieNode*, char*)’:
user.cpp:23:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (word[0] != NULL) {
^
user.cpp: In function ‘bool eraseWord(TrieNode*, char*)’:
user.cpp:36:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (word[0] != NULL) {
^
user.cpp:46:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int wordCnt(TrieNode*, char*)’:
user.cpp:53:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (word[1] == NULL) {
^
user.cpp: In function ‘int findPrefix(TrieNode*, const char*)’:
user.cpp:68:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (word[0] == NULL || nextNode == NULL) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 2628kb | OK | 5 | 5 |
2 | 4ms | 2840kb | OK | 5 | 5 |
3 | 4ms | 2704kb | OK | 5 | 5 |
4 | 4ms | 2848kb | OK | 5 | 5 |
5 | 4ms | 2800kb | OK | 5 | 5 |
6 | 4ms | 2920kb | OK | 5 | 5 |
7 | 8ms | 2824kb | OK | 5 | 5 |
8 | 8ms | 2852kb | OK | 5 | 5 |
9 | 12ms | 2856kb | OK | 5 | 5 |
10 | 16ms | 3276kb | OK | 5 | 5 |
11 | 20ms | 2768kb | OK | 5 | 5 |
12 | 36ms | 4116kb | OK | 5 | 5 |
13 | 40ms | 3768kb | OK | 5 | 5 |
14 | 44ms | 2928kb | OK | 5 | 5 |
15 | 52ms | 3052kb | OK | 5 | 10 |
16 | 108ms | 12020kb | OK | 5 |
17 | 72ms | 2860kb | OK | 5 | 10 |
18 | 108ms | 9484kb | OK | 5 |
19 | 64ms | 2684kb | OK | 5 | 10 |
20 | 124ms | 15068kb | OK | 5 |
Punctaj total | 100 |