Borderou de evaluare (job #1630097)

Utilizator mariakKapros Maria mariak Data 4 martie 2016 22:13:22
Problema Vecini2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:78:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:80:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); ^ user.cpp:81:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b); ^ /tmp/ccEKcgQQ.o: In function `read()': user.cpp:(.text+0x2a1): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK10
20ms456kbOK10
30ms448kbOK10
40ms460kbOK10
50ms472kbOK10
60ms468kbOK10
70ms472kbOK10
80ms468kbOK10
94ms472kbOK10
104ms468kbOK10
Punctaj total100

Ceva nu functioneaza?