Borderou de evaluare (job #1642176)

Utilizator akaprosAna Kapros akapros Data 9 martie 2016 13:01:23
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

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

Ceva nu functioneaza?