Borderou de evaluare (job #1748251)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 26 august 2016 11:53:33
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:64:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.in","r",stdin); ^ user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.out","w",stdout); ^ user.cpp:67:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:68:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&d); ^ /tmp/cc43xT5N.o: In function `main': user.cpp:(.text.startup+0x59): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms276kbOK10
30ms280kbOK10
40ms312kbKilled by signal 6(SIGABRT).0
50ms304kbKilled by signal 6(SIGABRT).0
60ms308kbKilled by signal 6(SIGABRT).0
70ms304kbKilled by signal 6(SIGABRT).0
80ms308kbKilled by signal 6(SIGABRT).0
90ms308kbKilled by signal 6(SIGABRT).0
100ms312kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?