Borderou de evaluare (job #1817288)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:42:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &f[i]);
^
user.cpp:106:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", suma);
^
user.cpp:110:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d %d\n", soll[i],solv[i]);
^
user.cpp:35: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:36: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:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &f[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK! | 5 |
2 | 0ms | 456kb | OK! | 5 |
3 | 0ms | 452kb | OK! | 5 |
4 | 0ms | 464kb | OK! | 5 |
5 | 4ms | 824kb | OK! | 5 |
6 | 4ms | 832kb | OK! | 5 |
7 | 16ms | 1944kb | Lungime incorecta! | 0 |
8 | 16ms | 1944kb | Lungime incorecta! | 0 |
9 | 60ms | 4916kb | Lungime incorecta! | 0 |
10 | 52ms | 4916kb | Lungime incorecta! | 0 |
11 | 92ms | 7888kb | Lungime incorecta! | 0 |
12 | 92ms | 7884kb | Lungime incorecta! | 0 |
13 | 184ms | 15304kb | Lungime incorecta! | 0 |
14 | 464ms | 37572kb | Lungime incorecta! | 0 |
15 | 752ms | 59844kb | Lungime incorecta! | 0 |
16 | 736ms | 59844kb | Lungime incorecta! | 0 |
17 | 520ms | Depăşit | Memory limit exceeded. | 0 |
18 | 492ms | Depăşit | Memory limit exceeded. | 0 |
19 | 540ms | Depăşit | Memory limit exceeded. | 0 |
20 | 536ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |