Borderou de evaluare (job #1288271)

Utilizator SmarandaMaria Pandele Smaranda Data 8 decembrie 2014 18:41:39
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:13:38: 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:14:40: 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:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &n); ^ user.cpp:17:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ /tmp/cc80mWVi.o: In function `main': user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbRaspuns gresit!0
20ms264kbOK!10
30ms264kbRaspuns gresit!0
40ms296kbRaspuns gresit!0
58ms744kbOK!10
620ms712kbRaspuns gresit!0
732ms852kbRaspuns gresit!0
848ms1256kbRaspuns gresit!0
916ms1376kbRaspuns gresit!0
1040ms4608kbRaspuns gresit!0
Punctaj total20

Ceva nu functioneaza?