Pagini recente » Borderou de evaluare (job #1882088) | Borderou de evaluare (job #946452) | Borderou de evaluare (job #1311678) | Borderou de evaluare (job #1060551) | Borderou de evaluare (job #1569023)
Borderou de evaluare (job #1569023)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ",&H[i].val);
^
user.cpp:63:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
for(i = 1;i <= N;++i)printf("%d %lld\n",fh[i],b[i]);
^
user.cpp:53:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("huffman.in","r",stdin);
^
user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("huffman.out","w",stdout);
^
user.cpp:56:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld ",&N);
^
user.cpp:58:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&H[i].val);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK! | 5 |
| 2 | 0ms | 292kb | OK! | 5 |
| 3 | 0ms | 292kb | OK! | 5 |
| 4 | 0ms | 292kb | OK! | 5 |
| 5 | 4ms | 548kb | OK! | 5 |
| 6 | 4ms | 548kb | OK! | 5 |
| 7 | 20ms | 1308kb | OK! | 5 |
| 8 | 20ms | 1316kb | OK! | 5 |
| 9 | 64ms | 3336kb | OK! | 5 |
| 10 | 64ms | 3340kb | OK! | 5 |
| 11 | 112ms | 5372kb | OK! | 5 |
| 12 | 112ms | 5372kb | OK! | 5 |
| 13 | 164ms | 8112kb | Lungime incorecta! | 0 |
| 14 | 396ms | 19820kb | Lungime incorecta! | 0 |
| 15 | 320ms | 31500kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 316ms | 31504kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 344ms | 35412kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 364ms | 35408kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 756ms | 39348kb | Lungime incorecta! | 0 |
| 20 | 732ms | 39340kb | Lungime incorecta! | 0 |
| Punctaj total | 60 |