Pagini recente » Borderou de evaluare (job #2164988) | Borderou de evaluare (job #1858000) | Borderou de evaluare (job #2385913) | Borderou de evaluare (job #2469220) | Borderou de evaluare (job #1956955)
Borderou de evaluare (job #1956955)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(Aho*, char*, int)’:
user.cpp:23:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->son[*str]==0)
^
user.cpp:24:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->son[*str]=new Aho;
^
user.cpp:25:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
add(nod->son[*str],str+1,p);
^
user.cpp: In function ‘void solve(int)’:
user.cpp:53:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->son[A[i]]==0)
^
user.cpp:54:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(nod!=root&&nod->son[A[i]]==0)
^
user.cpp:56:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->son[A[i]]){
^
user.cpp:57:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod=nod->son[A[i]];
^
user.cpp: In function ‘void antibfs()’:
user.cpp:66:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<nod->pos.size();j++)
^
user.cpp: In function ‘int main()’:
user.cpp:77:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&l,&n);
^
user.cpp:81:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&sz);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 588kb | OK | 10 |
2 | 16ms | 496kb | OK | 10 |
3 | 32ms | 628kb | OK | 10 |
4 | 76ms | 20248kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 116ms | 32276kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 76ms | 20068kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 144ms | 39676kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 76ms | 20292kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 16ms | 3240kb | OK | 10 |
10 | 4ms | 1496kb | OK | 10 |
Punctaj total | 50 |