Pagini recente » Borderou de evaluare (job #1657914) | Borderou de evaluare (job #2638734) | Borderou de evaluare (job #3263923) | Borderou de evaluare (job #1842812) | Borderou de evaluare (job #1956957)
Borderou de evaluare (job #1956957)
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 | 584kb | OK | 10 |
| 2 | 16ms | 500kb | OK | 10 |
| 3 | 36ms | 632kb | OK | 10 |
| 4 | 140ms | 21788kb | OK | 10 |
| 5 | 224ms | 35044kb | OK | 10 |
| 6 | 136ms | 21564kb | OK | 10 |
| 7 | 288ms | 43180kb | OK | 10 |
| 8 | 144ms | 21864kb | OK | 10 |
| 9 | 16ms | 3232kb | OK | 10 |
| 10 | 4ms | 1496kb | OK | 10 |
| Punctaj total | 100 |