Pagini recente » Borderou de evaluare (job #2591179) | Borderou de evaluare (job #1593108) | Borderou de evaluare (job #107025) | Borderou de evaluare (job #543854) | Borderou de evaluare (job #1728212)
Borderou de evaluare (job #1728212)
Raport evaluator
Compilare:
user.cpp: In constructor ‘Trie::Trie()’:
user.cpp:15:42: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(Litere,NULL,sizeof(Litere));
^
user.cpp: In function ‘void Add_In_Trie(Trie*, char*)’:
user.cpp:23:12: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s==NULL){
^
user.cpp: In function ‘int GetPref(Trie*, char*, int)’:
user.cpp:36:13: warning: NULL used in arithmetic [-Wpointer-arith]
if( *s==NULL || nod->Litere[*s-'a']==NULL)return dim;
^
user.cpp: In function ‘int Nrcuv(Trie*, char*)’:
user.cpp:42:12: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s==NULL){
^
user.cpp: In function ‘bool DeleteWord(Trie*, char*)’:
user.cpp:51:12: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s==NULL)--nod->nrWord;
^
user.cpp: In function ‘void ReadData()’:
user.cpp:78:21: warning: unused variable ‘a’ [-Wunused-variable]
int a=DeleteWord(Rad,x+2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 412kb | OK | 5 | 5 |
2 | 0ms | 420kb | OK | 5 | 5 |
3 | 0ms | 432kb | Incorect | 0 | 0 |
4 | 0ms | 424kb | Incorect | 0 | 0 |
5 | 0ms | 428kb | Incorect | 0 | 0 |
6 | 0ms | 424kb | Incorect | 0 | 0 |
7 | 0ms | 440kb | Incorect | 0 | 0 |
8 | 0ms | 428kb | Incorect | 0 | 0 |
9 | 0ms | 436kb | Incorect | 0 | 0 |
10 | 0ms | 432kb | Incorect | 0 | 0 |
11 | 0ms | 440kb | Incorect | 0 | 0 |
12 | 0ms | 456kb | Incorect | 0 | 0 |
13 | 0ms | 400kb | Incorect | 0 | 0 |
14 | 0ms | 456kb | Incorect | 0 | 0 |
15 | 0ms | 508kb | Incorect | 0 | 0 |
16 | 0ms | 496kb | Incorect | 0 |
17 | 0ms | 432kb | Incorect | 0 | 0 |
18 | 0ms | 432kb | Incorect | 0 |
19 | 0ms | 448kb | Incorect | 0 | 0 |
20 | 0ms | 420kb | Incorect | 0 |
Punctaj total | 10 |