Borderou de evaluare (job #1641944)

Utilizator erich98erich stan erich98 Data 9 martie 2016 11:44:21
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:84:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:85:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:86:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sw); ^ /tmp/cciOLpCZ.o: In function `read()': user.cpp:(.text+0x253): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbOK10
20ms432kbIncorect0
30ms432kbIncorect0
40ms428kbIncorect0
50ms432kbOK10
60ms436kbOK10
70ms432kbOK10
80ms428kbOK10
90ms436kbOK10
100ms428kbOK10
Punctaj total70

Ceva nu functioneaza?