Pagini recente » Borderou de evaluare (job #1703381) | Borderou de evaluare (job #661026) | Borderou de evaluare (job #1487464) | Borderou de evaluare (job #645434) | Borderou de evaluare (job #1334102)
Borderou de evaluare (job #1334102)
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 | 452kb | OK! | 5 |
4 | 0ms | 452kb | OK! | 5 |
5 | 4ms | 656kb | Lungime incorecta! | 0 |
6 | 4ms | 652kb | Lungime incorecta! | 0 |
7 | 16ms | 1236kb | Lungime incorecta! | 0 |
8 | 16ms | 1236kb | Lungime incorecta! | 0 |
9 | 56ms | 2800kb | Lungime incorecta! | 0 |
10 | 56ms | 2800kb | Lungime incorecta! | 0 |
11 | 92ms | 4368kb | Lungime incorecta! | 0 |
12 | 96ms | 4360kb | Lungime incorecta! | 0 |
13 | 184ms | 8268kb | Lungime incorecta! | 0 |
14 | 460ms | 19980kb | Lungime incorecta! | 0 |
15 | 228ms | 22288kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 236ms | 22292kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 268ms | 23076kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 260ms | 23080kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 284ms | 23856kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 280ms | 23852kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |