Pagini recente » Borderou de evaluare (job #186128) | Borderou de evaluare (job #2844440) | Borderou de evaluare (job #904252) | Borderou de evaluare (job #2060784) | Borderou de evaluare (job #1547047)
Borderou de evaluare (job #1547047)
Raport evaluator
Compilare:
user.cpp: In function ‘int df(long int, long int, long int)’:
user.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:29:20: warning: format ‘%lli’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%lli",&n);
^
user.cpp:33:29: warning: format ‘%lli’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%lli",&H[i].v);
^
user.cpp:65: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]);
^
user.cpp:27: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:28: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:29:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&n);
^
user.cpp:33:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&H[i].v);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 464kb | OK! | 5 |
| 2 | 0ms | 464kb | OK! | 5 |
| 3 | 0ms | 468kb | OK! | 5 |
| 4 | 0ms | 464kb | OK! | 5 |
| 5 | 4ms | 736kb | OK! | 5 |
| 6 | 4ms | 736kb | OK! | 5 |
| 7 | 16ms | 1560kb | OK! | 5 |
| 8 | 16ms | 1564kb | OK! | 5 |
| 9 | 52ms | 3748kb | OK! | 5 |
| 10 | 52ms | 3752kb | OK! | 5 |
| 11 | 88ms | 5940kb | OK! | 5 |
| 12 | 88ms | 5936kb | OK! | 5 |
| 13 | 176ms | 11404kb | Lungime incorecta! | 0 |
| 14 | 444ms | 27804kb | Lungime incorecta! | 0 |
| 15 | 724ms | 37172kb | Lungime incorecta! | 0 |
| 16 | 728ms | 37172kb | Lungime incorecta! | 0 |
| 17 | 800ms | 40300kb | Lungime incorecta! | 0 |
| 18 | 804ms | 40300kb | Lungime incorecta! | 0 |
| 19 | 908ms | 43416kb | Lungime incorecta! | 0 |
| 20 | 880ms | 43416kb | Lungime incorecta! | 0 |
| Punctaj total | 60 |