Borderou de evaluare (job #1697963)

Utilizator quochuyaNguyen Quoc Huy quochuya Data 3 mai 2016 13:06:16
Problema Secventa Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.c: In function ‘Solve’: user.c:7:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.c:14:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.c: In function ‘main’: user.c:28:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("secventa.in", "r", stdin); ^ user.c:29:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("secventa.out", "w", stdout); ^ user.c: In function ‘Solve’: user.c:24:24: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d %d %d\n", r-k+2, r+1, m); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
24ms324kbOK10
320ms536kbOK10
420ms572kbOK10
528ms668kbOK10
636ms740kbOK10
760ms1056kbOK10
892ms1448kbOK10
9Depăşit1708kbTime limit exceeded.0
10Depăşit1748kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?