Pagini recente » Cod sursa (job #1109666) | Cod sursa (job #2963074) | Cod sursa (job #1059832) | Cod sursa (job #2941184) | Borderou de evaluare (job #1569043)
Borderou de evaluare (job #1569043)
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 | 296kb | OK! | 5 |
2 | 0ms | 296kb | OK! | 5 |
3 | 0ms | 288kb | OK! | 5 |
4 | 0ms | 292kb | OK! | 5 |
5 | 4ms | 544kb | OK! | 5 |
6 | 4ms | 544kb | OK! | 5 |
7 | 20ms | 1316kb | OK! | 5 |
8 | 20ms | 1308kb | OK! | 5 |
9 | 64ms | 3340kb | OK! | 5 |
10 | 64ms | 3344kb | OK! | 5 |
11 | 112ms | 5376kb | OK! | 5 |
12 | 88ms | 5376kb | OK! | 5 |
13 | 180ms | 10448kb | OK! | 5 |
14 | 452ms | 25680kb | OK! | 5 |
15 | 724ms | 40912kb | OK! | 5 |
16 | 728ms | 40912kb | OK! | 5 |
17 | 824ms | 46000kb | OK! | 5 |
18 | 816ms | 45996kb | OK! | 5 |
19 | 908ms | 51056kb | OK! | 5 |
20 | 900ms | 51052kb | OK! | 5 |
Punctaj total | 100 |