Pagini recente » Cod sursa (job #846855) | Borderou de evaluare (job #1984186) | Cod sursa (job #96072) | Borderou de evaluare (job #2024479) | Borderou de evaluare (job #1595312)
Borderou de evaluare (job #1595312)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:60:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &nod[i].v);
^
user.cpp:66:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %lld\n", lg[i], b[i]);
^
user.cpp:56:36: 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:57:38: 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:58:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nod[i].v);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK! | 5 |
| 2 | 0ms | 288kb | OK! | 5 |
| 3 | 0ms | 292kb | OK! | 5 |
| 4 | 0ms | 296kb | OK! | 5 |
| 5 | 4ms | 548kb | OK! | 5 |
| 6 | 4ms | 552kb | OK! | 5 |
| 7 | 16ms | 1304kb | OK! | 5 |
| 8 | 16ms | 1304kb | OK! | 5 |
| 9 | 52ms | 3332kb | OK! | 5 |
| 10 | 52ms | 3340kb | OK! | 5 |
| 11 | 88ms | 5376kb | OK! | 5 |
| 12 | 88ms | 5372kb | OK! | 5 |
| 13 | 176ms | 10448kb | OK! | 5 |
| 14 | 448ms | 25684kb | OK! | 5 |
| 15 | 704ms | 40920kb | OK! | 5 |
| 16 | 704ms | 40916kb | OK! | 5 |
| 17 | 804ms | 45992kb | OK! | 5 |
| 18 | 808ms | 45996kb | OK! | 5 |
| 19 | 892ms | 51060kb | OK! | 5 |
| 20 | 896ms | 51064kb | OK! | 5 |
| Punctaj total | 100 |