Borderou de evaluare (job #1442122)

Utilizator akaprosAna Kapros akapros Data 24 mai 2015 14:55:18
Problema String Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:44:37: 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:45: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:46:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:47:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ /tmp/cciYVH9y.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
10ms792kbRaspuns gresit!0
20ms1308kbRaspuns gresit!0
30ms1300kbRaspuns gresit!0
40ms800kbRaspuns gresit!0
516ms1788kbRaspuns gresit!0
68ms1500kbRaspuns gresit!0
716ms1648kbRaspuns gresit!0
820ms1796kbOK!10
98ms920kbRaspuns gresit!0
1012ms1044kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?