Pagini recente » Borderou de evaluare (job #230525) | Borderou de evaluare (job #2111952) | Borderou de evaluare (job #10437) | Borderou de evaluare (job #2493976) | Borderou de evaluare (job #2137822)
Borderou de evaluare (job #2137822)
Raport evaluator
Compilare:
user.cpp: In constructor ‘TrieNode::TrieNode(int)’:
user.cpp:19: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:24:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (word[0] != NULL) {
^
user.cpp: In function ‘bool eraseWord(TrieNode*, char*)’:
user.cpp:37:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (word[0] != NULL) {
^
user.cpp:47:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int wordCnt(TrieNode*, char*)’:
user.cpp:54:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (word[1] == NULL) {
^
user.cpp: In function ‘int findPrefix(TrieNode*, const char*)’:
user.cpp:69:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (word[0] == NULL) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1520kb | OK | 5 | 5 |
2 | 0ms | 1540kb | OK | 5 | 5 |
3 | 0ms | 1552kb | OK | 5 | 5 |
4 | 0ms | 1532kb | OK | 5 | 5 |
5 | 0ms | 1540kb | OK | 5 | 5 |
6 | 0ms | 1552kb | OK | 5 | 5 |
7 | 4ms | 1584kb | OK | 5 | 5 |
8 | 4ms | 1584kb | OK | 5 | 5 |
9 | 8ms | 1840kb | OK | 5 | 5 |
10 | 16ms | 2768kb | OK | 5 | 5 |
11 | 16ms | 1644kb | OK | 5 | 5 |
12 | 32ms | 4072kb | OK | 5 | 5 |
13 | 40ms | 3612kb | OK | 5 | 5 |
14 | 36ms | 2044kb | OK | 5 | 5 |
15 | 44ms | 1988kb | OK | 5 | 0 |
16 | 72ms | Depăşit | Memory limit exceeded. | 0 |
17 | 52ms | 1580kb | OK | 5 | 10 |
18 | 116ms | 14916kb | OK | 5 |
19 | 52ms | 1584kb | OK | 5 | 0 |
20 | 72ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 80 |