Borderou de evaluare (job #1715049)

Utilizator moise_alexandruMoise Alexandru moise_alexandru Data 9 iunie 2016 22:11:24
Problema Ben Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gcd.in", "r", stdin); ^ user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gcd.out", "w", stdout); ^ user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &teste); ^ user.cpp:37:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ user.cpp:43:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ /tmp/ccKh19sW.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms340kbKilled by signal 8(SIGFPE).0
20ms336kbKilled by signal 8(SIGFPE).0
30ms344kbKilled by signal 8(SIGFPE).0
40ms336kbKilled by signal 8(SIGFPE).0
50ms340kbKilled by signal 8(SIGFPE).0
60ms336kbKilled by signal 8(SIGFPE).0
70ms340kbKilled by signal 8(SIGFPE).0
80ms340kbKilled by signal 8(SIGFPE).0
90ms336kbKilled by signal 8(SIGFPE).0
100ms344kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?