Borderou de evaluare (job #1871361)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 7 februarie 2017 12:01:12
Problema Ec Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 74

Raport evaluator

Compilare: user.cpp: In function ‘bool solve_gr2(int, int, int, int)’: user.cpp:28:14: warning: unused variable ‘x1’ [-Wunused-variable] int delta, x1, x2, rad; ^ user.cpp:28:18: warning: unused variable ‘x2’ [-Wunused-variable] int delta, x1, x2, rad; ^ user.cpp: In function ‘int main()’: user.cpp:51:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ec.in", "r", stdin); ^ user.cpp:52:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ec.out", "w", stdout); ^ user.cpp:54:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:56:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &x); ^ user.cpp:60:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccxPXe1K.o: In function `main': user.cpp:(.text.startup+0xe8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
20ms300kbGresit!6
30ms300kbGresit!6
40ms300kbGresit!6
58ms308kbGresit!6
60ms272kbKilled by signal 8(SIGFPE).0
740ms316kbOK10
860ms312kbOK10
90ms312kbOK10
100ms308kbOK10
Punctaj total74

Ceva nu functioneaza?