Pagini recente » Borderou de evaluare (job #2025207) | Borderou de evaluare (job #1672670) | Borderou de evaluare (job #2856164) | Borderou de evaluare (job #2473126) | Borderou de evaluare (job #1715334)
Borderou de evaluare (job #1715334)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:57:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=]
for (int i = 0; i < n; ++i) scanf("%d", &nodes[i].freq), nodes[i].l = nodes[i].r = -1;
^
user.cpp:54:35: 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:56:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:57:87: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < n; ++i) scanf("%d", &nodes[i].freq), nodes[i].l = nodes[i].r = -1;
^
user.cpp: In function ‘void write()’:
user.cpp:74:37: 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);
^
| 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 | 284kb | OK! | 5 |
| 5 | 4ms | 540kb | OK! | 5 |
| 6 | 4ms | 544kb | OK! | 5 |
| 7 | 16ms | 1308kb | OK! | 5 |
| 8 | 16ms | 1308kb | OK! | 5 |
| 9 | 52ms | 3340kb | OK! | 5 |
| 10 | 48ms | 3336kb | OK! | 5 |
| 11 | 88ms | 5368kb | OK! | 5 |
| 12 | 88ms | 5364kb | OK! | 5 |
| 13 | 172ms | 10448kb | OK! | 5 |
| 14 | 424ms | 25676kb | OK! | 5 |
| 15 | 684ms | 40912kb | OK! | 5 |
| 16 | 716ms | 40912kb | OK! | 5 |
| 17 | 812ms | 45984kb | OK! | 5 |
| 18 | 772ms | 45988kb | OK! | 5 |
| 19 | 888ms | 51052kb | OK! | 5 |
| 20 | 896ms | 51052kb | OK! | 5 |
| Punctaj total | 100 |