Pagini recente » Monitorul de evaluare | Monitorul de evaluare | Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #2290151)
Borderou de evaluare (job #2290151)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:131:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d", &n);
^
main.cpp:137:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &nod[i].v);
^
main.cpp:151:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d %lld\n", lg[i], b[i]);
^
main.cpp:127:38: 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);
^
main.cpp:129:40: 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);
^
main.cpp:131:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:137:31: 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 | 2ms | 131kb | OK! | 5 |
| 2 | 2ms | 131kb | OK! | 5 |
| 3 | 2ms | 131kb | OK! | 5 |
| 4 | 2ms | 131kb | OK! | 5 |
| 5 | 8ms | 393kb | OK! | 5 |
| 6 | 8ms | 393kb | OK! | 5 |
| 7 | 26ms | 1310kb | OK! | 5 |
| 8 | 26ms | 1310kb | OK! | 5 |
| 9 | 74ms | 3801kb | OK! | 5 |
| 10 | 82ms | 3801kb | OK! | 5 |
| 11 | 98ms | 6291kb | OK! | 5 |
| 12 | 117ms | 6291kb | OK! | 5 |
| 13 | 240ms | 12582kb | OK! | 5 |
| 14 | 576ms | 31064kb | OK! | 5 |
| 15 | 804ms | 49807kb | OK! | 5 |
| 16 | 942ms | 49807kb | OK! | 5 |
| 17 | 899ms | 56098kb | OK! | 5 |
| 18 | 1001ms | 54919kb | Time limit exceeded | 0 |
| 19 | 1003ms | 59506kb | Time limit exceeded | 0 |
| 20 | 1006ms | 62521kb | Time limit exceeded | 0 |
| Punctaj total | 85 |