Borderou de evaluare (job #1595032)

Utilizator antanaAntonia Boca antana Data 9 februarie 2016 21:32:02
Problema Text4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:9: warning: unused variable ‘n’ [-Wunused-variable] int n, i, lmax, pred, nr, sp, pp, m, r, nw, i1; ^ user.cpp:26:35: warning: unused variable ‘pp’ [-Wunused-variable] int n, i, lmax, pred, nr, sp, pp, m, r, nw, i1; ^ user.cpp:26:39: warning: unused variable ‘m’ [-Wunused-variable] int n, i, lmax, pred, nr, sp, pp, m, r, nw, i1; ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text4.in", "r", stdin); ^ user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text4.out", "w", stdout); ^ user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &lmax); ^ user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms264kbKilled by signal 8(SIGFPE).0
30ms268kbIncorect0
40ms268kbOK10
50ms268kbIncorect0
60ms264kbIncorect0
70ms268kbIncorect0
80ms264kbIncorect0
90ms240kbKilled by signal 8(SIGFPE).0
100ms268kbIncorect0
Punctaj total20

Ceva nu functioneaza?