Borderou de evaluare (job #2067463)

Utilizator sorina.aldeaAldea Sorina-Theodora sorina.aldea Data 16 noiembrie 2017 14:44:40
Problema Sushi Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:17:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("sushi.in", "r", stdin); ^ user.c:18:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("sushi.out", "w", stdout); ^ user.c:21:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.c:23:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.c:26:9: warning: ‘q’ may be used uninitialized in this function [-Wmaybe-uninitialized] int p, q; ^ user.c:7:14: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized] int S = v[x]; ^ user.c:26:6: note: ‘p’ was declared here int p, q; ^ user.c:29:7: warning: ‘S’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (sushi(i, j, v) > S) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbOK1010
216ms272kbOK1010
3Depăşit240kbTime limit exceeded.00
4Depăşit272kbTime limit exceeded.00
50ms272kbKilled by signal 11(SIGSEGV).00
60ms276kbKilled by signal 11(SIGSEGV).0
70ms276kbKilled by signal 11(SIGSEGV).0
80ms276kbKilled by signal 11(SIGSEGV).00
94ms276kbKilled by signal 11(SIGSEGV).00
100ms276kbKilled by signal 11(SIGSEGV).00
Punctaj total20

Ceva nu functioneaza?