Borderou de evaluare (job #1409061)

Utilizator geniucosOncescu Costin geniucos Data 30 martie 2015 13:13:33
Problema Secv10 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("secv10.in", "r", stdin); ^ user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("secv10.out", "w", stdout); ^ user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &T); ^ user.cpp:19:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir + 1), N = strlen (sir + 1); ^ user.cpp:20:40: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (pf + 1), n1 = strlen (pf + 1); ^ user.cpp:21:40: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sf + 1), n2 = strlen (sf + 1); ^ /tmp/ccNCKzXi.o: In function `main': user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
132ms1204kbOK100
Punctaj total100

Ceva nu functioneaza?