Pagini recente » Borderou de evaluare (job #1450821) | Borderou de evaluare (job #1398864) | Cod sursa (job #280010) | Borderou de evaluare (job #152378) | Borderou de evaluare (job #1569039)
Borderou de evaluare (job #1569039)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d ",&N);
^
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:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&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 | 292kb | OK! | 5 |
| 2 | 0ms | 296kb | OK! | 5 |
| 3 | 0ms | 292kb | OK! | 5 |
| 4 | 0ms | 288kb | OK! | 5 |
| 5 | 4ms | 540kb | OK! | 5 |
| 6 | 4ms | 540kb | OK! | 5 |
| 7 | 20ms | 1312kb | OK! | 5 |
| 8 | 20ms | 1308kb | OK! | 5 |
| 9 | 64ms | 3336kb | OK! | 5 |
| 10 | 68ms | 3344kb | OK! | 5 |
| 11 | 112ms | 5376kb | OK! | 5 |
| 12 | 112ms | 5368kb | OK! | 5 |
| 13 | 168ms | 8108kb | Lungime incorecta! | 0 |
| 14 | 360ms | 19824kb | Lungime incorecta! | 0 |
| 15 | 284ms | 31504kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 296ms | 31500kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 320ms | 35412kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 320ms | 35408kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 732ms | 39340kb | Lungime incorecta! | 0 |
| 20 | 724ms | 39344kb | Lungime incorecta! | 0 |
| Punctaj total | 60 |