Borderou de evaluare (job #1565884)

Utilizator PikachuPikachu Pikachu Data 11 ianuarie 2016 16:48:08
Problema Ab2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:15: warning: variable ‘nr’ set but not used [-Wunused-but-set-variable] int n, a, b, nr, copy_b, act, j, x, y; ^ user.cpp:12:19: warning: unused variable ‘copy_b’ [-Wunused-variable] int n, a, b, nr, copy_b, act, j, x, y; ^ user.cpp:12:32: warning: unused variable ‘j’ [-Wunused-variable] int n, a, b, nr, copy_b, act, j, x, y; ^ user.cpp:13:7: warning: unused variable ‘fix’ [-Wunused-variable] bool fix = 0; ^ user.cpp:9:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ab2.in", "r", stdin); ^ user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ab2.out", "w", stdout); ^ user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbNu este o permutare!0
20ms268kbRaspuns gresit!0
30ms264kbOK!!10
40ms276kbRaspuns gresit!0
50ms300kbRaspuns gresit!0
60ms300kbRaspuns gresit!0
70ms316kbKilled by signal 11(SIGSEGV).0
84ms348kbKilled by signal 6(SIGABRT).0
90ms336kbKilled by signal 11(SIGSEGV).0
108ms372kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?