Pagini recente » Cod sursa (job #2870002) | Cod sursa (job #646381) | Cod sursa (job #2365810) | Cod sursa (job #2508166) | Borderou de evaluare (job #2290147)
Borderou de evaluare (job #2290147)
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 | 7ms | 524kb | OK! | 5 |
6 | 7ms | 524kb | OK! | 5 |
7 | 23ms | 1966kb | OK! | 5 |
8 | 23ms | 1966kb | OK! | 5 |
9 | 66ms | 5505kb | OK! | 5 |
10 | 66ms | 5505kb | OK! | 5 |
11 | 88ms | 9043kb | OK! | 5 |
12 | 104ms | 9175kb | OK! | 5 |
13 | 201ms | 18087kb | OK! | 5 |
14 | 479ms | 45219kb | OK! | 5 |
15 | 420ms | 65552kb | Memory limit exceeded | 0 |
16 | 421ms | 65552kb | Memory limit exceeded | 0 |
17 | 380ms | 65552kb | Memory limit exceeded | 0 |
18 | 365ms | 65552kb | Memory limit exceeded | 0 |
19 | 427ms | 65552kb | Memory limit exceeded | 0 |
20 | 389ms | 65552kb | Memory limit exceeded | 0 |
Punctaj total | 70 |