Pagini recente » Borderou de evaluare (job #3127592) | Borderou de evaluare (job #1312265) | Borderou de evaluare (job #2778460) | Atasamentele paginii Profil danyaly | Borderou de evaluare (job #1896703)
Borderou de evaluare (job #1896703)
Raport evaluator
Compilare:
user.cpp: In function ‘void ins(Trie*, char*)’:
user.cpp:28:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->fiu[CH[*s]]==NULL)
^
user.cpp:29:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->fiu[CH[*s]]=new Trie;
^
user.cpp:30:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ins(nod->fiu[CH[*s]],s+1);
^
user.cpp: In function ‘int main()’:
user.cpp:83:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d %d\n",&N,&K,&W,&D);
^
user.cpp:86:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c+1,LEN,f);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:86:25:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 5 |
| 2 | 0ms | 260kb | OK | 5 |
| 3 | 0ms | 504kb | OK | 5 |
| 4 | 0ms | 476kb | Incorect | 0 |
| 5 | 0ms | 548kb | Incorect | 0 |
| 6 | 0ms | 556kb | OK | 5 |
| 7 | 112ms | 21416kb | OK | 5 |
| 8 | 152ms | 27332kb | OK | 5 |
| 9 | 164ms | 30860kb | Incorect | 0 |
| 10 | 160ms | 30308kb | Incorect | 0 |
| 11 | 116ms | 18664kb | OK | 5 |
| 12 | 144ms | 24288kb | OK | 5 |
| 13 | 168ms | 28284kb | OK | 5 |
| 14 | 160ms | 27788kb | Incorect | 0 |
| 15 | 168ms | 31036kb | Incorect | 0 |
| 16 | 172ms | 31148kb | OK | 5 |
| 17 | 168ms | 31148kb | OK | 5 |
| 18 | 172ms | 31172kb | OK | 5 |
| 19 | 180ms | 36296kb | Incorect | 0 |
| 20 | 120ms | 2364kb | OK | 5 |
| Punctaj total | 65 |