Borderou de evaluare (job #1228643)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 14 septembrie 2014 20:58:27
Problema Base3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("base3.in", "r", stdin); ^ user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("base3.out", "w", stdout); ^ user.cpp:51:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a);gets(b);gets(c); ^ user.cpp:51:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a);gets(b);gets(c); ^ user.cpp:51:28: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a);gets(b);gets(c); ^ /tmp/cc542LPn.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms504kbOK5
20ms260kbOK5
30ms268kbOK5
40ms276kbOK5
50ms376kbOK5
60ms300kbOK5
70ms396kbOK5
80ms404kbOK5
94ms400kbOK5
100ms392kbOK5
114ms404kbOK5
120ms376kbOK5
134ms424kbOK5
144ms416kbOK5
154ms424kbOK5
164ms420kbOK5
174ms424kbOK5
184ms428kbOK5
194ms428kbOK5
204ms404kbOK5
Punctaj total100

Ceva nu functioneaza?