Pagini recente » Borderou de evaluare (job #2264407) | Borderou de evaluare (job #228609) | Borderou de evaluare (job #54651) | Borderou de evaluare (job #1836604) | Borderou de evaluare (job #1384649)
Borderou de evaluare (job #1384649)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘var* {aka long long int*}’ [-Wformat=]
scanf("%ld", &n);
^
user.cpp:65:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘var* {aka long long int*}’ [-Wformat=]
scanf("%ld", &V[i]);
^
user.cpp:94:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘var {aka long long int}’ [-Wformat=]
printf("%ld\n", sum);
^
user.cpp:98:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld\n", D[i], BIT[i]);
^
user.cpp:98:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘var {aka long long int}’ [-Wformat=]
user.cpp:60:12: warning: unused variable ‘v’ [-Wunused-variable]
var n, v;
^
user.cpp:57: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:58: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:62:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &n);
^
user.cpp:65:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &V[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1544kb | Time limit exceeded. | 0 |
2 | Depăşit | 1496kb | Time limit exceeded. | 0 |
3 | Depăşit | 1460kb | Time limit exceeded. | 0 |
4 | Depăşit | 1520kb | Time limit exceeded. | 0 |
5 | Depăşit | 1644kb | Time limit exceeded. | 0 |
6 | Depăşit | 1616kb | Time limit exceeded. | 0 |
7 | Depăşit | 1916kb | Time limit exceeded. | 0 |
8 | Depăşit | 1896kb | Time limit exceeded. | 0 |
9 | Depăşit | 2720kb | Time limit exceeded. | 0 |
10 | Depăşit | 2644kb | Time limit exceeded. | 0 |
11 | Depăşit | 3472kb | Time limit exceeded. | 0 |
12 | Depăşit | 3448kb | Time limit exceeded. | 0 |
13 | Depăşit | 5380kb | Time limit exceeded. | 0 |
14 | Depăşit | 11340kb | Time limit exceeded. | 0 |
15 | Depăşit | 17084kb | Time limit exceeded. | 0 |
16 | Depăşit | 17064kb | Time limit exceeded. | 0 |
17 | Depăşit | 19060kb | Time limit exceeded. | 0 |
18 | Depăşit | 19004kb | Time limit exceeded. | 0 |
19 | Depăşit | 20956kb | Time limit exceeded. | 0 |
20 | Depăşit | 21008kb | Time limit exceeded. | 0 |
Punctaj total | 0 |