Borderou de evaluare (job #1283381)

Utilizator thinkphpAdrian Statescu thinkphp Data 5 decembrie 2014 16:58:09
Problema Statistici de ordine Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘nth_element’: user.c:54:44: warning: operation on ‘arr[j]’ may be undefined [-Wsequence-point] arr[i]=arr[i]^arr[j]^(arr[j]=arr[i]);i++; j--; ^ user.c: In function ‘read’: user.c:18:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN, "r", stdin); ^ user.c:20:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.c:22:35: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] for(i = 1; i <= n; i++) scanf("%d", &arr[ i ]); ^ user.c: In function ‘main’: user.c:70:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT, "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit220kbTime limit exceeded.00
236ms632kbOK1010
320ms516kbOK1010
4Depăşit532kbTime limit exceeded.00
552ms828kbOK1010
6Depăşit9980kbTime limit exceeded.00
7Depăşit9984kbTime limit exceeded.00
8816ms10008kbOK100
9Depăşit11152kbTime limit exceeded.0
10Depăşit11932kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?