Pagini recente » Borderou de evaluare (job #2281328) | Borderou de evaluare (job #1091050) | Borderou de evaluare (job #1218853) | Borderou de evaluare (job #228629) | Borderou de evaluare (job #1999396)
Borderou de evaluare (job #1999396)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &nod[i].x);
^
user.cpp:59:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sol);
^
user.cpp:62:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d %d\n", lg[i], cd[i]);
^
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.in", "r", stdin);
^
user.cpp:29: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);
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:34:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nod[i].x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK! | 5 |
2 | 0ms | 284kb | OK! | 5 |
3 | 0ms | 288kb | OK! | 5 |
4 | 0ms | 284kb | OK! | 5 |
5 | 4ms | 540kb | OK! | 5 |
6 | 4ms | 532kb | OK! | 5 |
7 | 12ms | 1304kb | Lungime incorecta! | 0 |
8 | 12ms | 1304kb | Lungime incorecta! | 0 |
9 | 44ms | 3332kb | Lungime incorecta! | 0 |
10 | 44ms | 3328kb | Lungime incorecta! | 0 |
11 | 72ms | 5364kb | Lungime incorecta! | 0 |
12 | 76ms | 5360kb | Lungime incorecta! | 0 |
13 | 148ms | 10448kb | Lungime incorecta! | 0 |
14 | 360ms | 25676kb | Lungime incorecta! | 0 |
15 | 592ms | 40916kb | Lungime incorecta! | 0 |
16 | 584ms | 40912kb | Lungime incorecta! | 0 |
17 | 648ms | 45988kb | Lungime incorecta! | 0 |
18 | 660ms | 45984kb | Lungime incorecta! | 0 |
19 | 740ms | 51048kb | Lungime incorecta! | 0 |
20 | 736ms | 51048kb | Lungime incorecta! | 0 |
Punctaj total | 30 |