Pagini recente » Borderou de evaluare (job #3196975) | Borderou de evaluare (job #266863) | Borderou de evaluare (job #1631827) | Borderou de evaluare (job #1078696) | Borderou de evaluare (job #2137820)
Borderou de evaluare (job #2137820)
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) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1496kb | OK | 5 | 5 |
2 | 0ms | 1512kb | OK | 5 | 5 |
3 | 0ms | 1524kb | OK | 5 | 5 |
4 | 0ms | 1512kb | OK | 5 | 5 |
5 | 0ms | 1524kb | OK | 5 | 5 |
6 | 0ms | 1532kb | OK | 5 | 5 |
7 | 4ms | 1564kb | OK | 5 | 5 |
8 | 4ms | 1560kb | OK | 5 | 5 |
9 | 8ms | 1816kb | OK | 5 | 5 |
10 | 16ms | 2736kb | OK | 5 | 5 |
11 | 16ms | 1628kb | OK | 5 | 5 |
12 | 32ms | 4052kb | OK | 5 | 5 |
13 | 40ms | 3592kb | OK | 5 | 5 |
14 | 36ms | 2016kb | OK | 5 | 5 |
15 | 44ms | 1968kb | OK | 5 | 0 |
16 | 76ms | Depăşit | Memory limit exceeded. | 0 |
17 | 56ms | 1552kb | OK | 5 | 10 |
18 | 120ms | 14892kb | OK | 5 |
19 | 52ms | 1560kb | OK | 5 | 0 |
20 | 76ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 80 |