Borderou de evaluare (job #1843238)

Utilizator mariakKapros Maria mariak Data 8 ianuarie 2017 14:32:39
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &K); ^ user.cpp:30:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:51:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccwXczdg.o: In function `read()': user.cpp:(.text+0xa0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms492kbOK10
20ms540kbIncorect0
30ms540kbOK10
40ms508kbOK10
50ms508kbOK10
60ms524kbOK10
70ms476kbOK10
84ms560kbOK10
90ms560kbOK10
104ms560kbOK10
Punctaj total90

Ceva nu functioneaza?