Borderou de evaluare (job #1265358)

Utilizator binicBinica Nicolae binic Data 17 noiembrie 2014 10:28:49
Problema String Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("string.in","r",stdin); ^ user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("string.out","w",stdout); ^ user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:10:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccxYGQQR.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK!10
20ms256kbRaspuns gresit!0
30ms252kbRaspuns gresit!0
40ms272kbRaspuns gresit!0
54ms736kbOK!10
60ms448kbRaspuns gresit!0
74ms604kbRaspuns gresit!0
84ms740kbRaspuns gresit!0
90ms380kbRaspuns gresit!0
100ms516kbRaspuns gresit!0
Punctaj total20

Ceva nu functioneaza?