Pagini recente » Borderou de evaluare (job #1264251) | Borderou de evaluare (job #2112006) | Borderou de evaluare (job #1445143) | Borderou de evaluare (job #3248875) | Borderou de evaluare (job #1334110)
Borderou de evaluare (job #1334110)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:24:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(int i=1;i<=n;i++)scanf("%d",&a[i].v),q[i][0]=i;
^
user.cpp:21:32: 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:23:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:24:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++)scanf("%d",&a[i].v),q[i][0]=i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK! | 5 |
2 | 0ms | 452kb | OK! | 5 |
3 | 0ms | 456kb | OK! | 5 |
4 | 0ms | 456kb | OK! | 5 |
5 | 4ms | 728kb | OK! | 5 |
6 | 4ms | 728kb | OK! | 5 |
7 | 24ms | 1548kb | OK! | 5 |
8 | 24ms | 1548kb | OK! | 5 |
9 | 76ms | 3744kb | OK! | 5 |
10 | 76ms | 3736kb | OK! | 5 |
11 | 128ms | 5928kb | OK! | 5 |
12 | 128ms | 5920kb | OK! | 5 |
13 | 260ms | 11388kb | OK! | 5 |
14 | 664ms | 27792kb | OK! | 5 |
15 | Depăşit | 44192kb | Time limit exceeded. | 0 |
16 | Depăşit | 44200kb | Time limit exceeded. | 0 |
17 | Depăşit | 49664kb | Time limit exceeded. | 0 |
18 | Depăşit | 49660kb | Time limit exceeded. | 0 |
19 | Depăşit | 55128kb | Time limit exceeded. | 0 |
20 | Depăşit | 55124kb | Time limit exceeded. | 0 |
Punctaj total | 70 |