Borderou de evaluare (job #2067077)

Utilizator sorina.aldeaAldea Sorina-Theodora sorina.aldea Data 15 noiembrie 2017 20:07:02
Problema Sushi Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:15:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("sushi.in", "r", stdin); ^ user.c:16:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("sushi.out", "w", stdout); ^ user.c:19:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.c:22:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.c: In function ‘sushi’: user.c:11:2: warning: ‘S’ may be used uninitialized in this function [-Wmaybe-uninitialized] return S; ^ user.c: In function ‘main’: user.c:20:16: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized] assert(i >= 0 && i < n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms312kbKilled by signal 6(SIGABRT).00
20ms316kbKilled by signal 6(SIGABRT).00
30ms316kbKilled by signal 6(SIGABRT).00
40ms344kbKilled by signal 6(SIGABRT).00
50ms296kbKilled by signal 11(SIGSEGV).00
60ms296kbKilled by signal 11(SIGSEGV).0
70ms300kbKilled by signal 11(SIGSEGV).0
80ms300kbKilled by signal 11(SIGSEGV).00
90ms296kbKilled by signal 11(SIGSEGV).00
100ms296kbKilled by signal 11(SIGSEGV).00
Punctaj total0

Ceva nu functioneaza?