Pagini recente » Borderou de evaluare (job #3134641) | Borderou de evaluare (job #339962) | Borderou de evaluare (job #222732) | Borderou de evaluare (job #2108138) | Borderou de evaluare (job #1701545)
Borderou de evaluare (job #1701545)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &arb[i].val);
^
user.cpp:61:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", tot);
^
user.cpp:38: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:39: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:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:42:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &arb[i].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK! | 5 |
2 | 0ms | 284kb | OK! | 5 |
3 | 0ms | 280kb | OK! | 5 |
4 | 0ms | 280kb | OK! | 5 |
5 | 4ms | 500kb | OK! | 5 |
6 | 4ms | 496kb | OK! | 5 |
7 | 16ms | 1140kb | Lungime incorecta! | 0 |
8 | 16ms | 1144kb | Lungime incorecta! | 0 |
9 | 48ms | 2860kb | Lungime incorecta! | 0 |
10 | 52ms | 2860kb | Lungime incorecta! | 0 |
11 | 88ms | 4576kb | Lungime incorecta! | 0 |
12 | 84ms | 4580kb | Lungime incorecta! | 0 |
13 | 172ms | 8872kb | Lungime incorecta! | 0 |
14 | 424ms | 21764kb | Lungime incorecta! | 0 |
15 | 692ms | 34660kb | Lungime incorecta! | 0 |
16 | 680ms | 34660kb | Lungime incorecta! | 0 |
17 | 776ms | 38956kb | Lungime incorecta! | 0 |
18 | 752ms | 38956kb | Lungime incorecta! | 0 |
19 | 840ms | 43244kb | Lungime incorecta! | 0 |
20 | 856ms | 43244kb | Lungime incorecta! | 0 |
Punctaj total | 30 |