Borderou de evaluare (job #2159942)

Utilizator oso.andinoooIonut Stan oso.andinooo Data 11 martie 2018 11:08:30
Problema Smooth2 Status done
Runda Algoritmiada 2018 Runda PreOJI Compilator cpp | Vezi sursa
Scor 3

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ In file included from /usr/include/c++/5/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:11:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ In file included from /usr/include/c++/5/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:11:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ In file included from /usr/include/c++/5/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("smooth2.in", "r", stdin); ^ user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("smooth2.out", "w", stdout); ^ user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccoPrcjW.o: In function `main': user.cpp:(.text.startup+0x48): warning: the `gets' function is dangerous and should not be used.
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms2748kbOK!00
24ms2648kbOK!00
34ms2656kbRaspuns gresit!00
44ms2672kbRaspuns gresit!00
54ms2668kbOK!33
64ms2924kbRaspuns gresit!00
74ms2764kbRaspuns gresit!00
84ms2904kbRaspuns gresit!00
94ms2908kbRaspuns gresit!00
104ms2664kbRaspuns gresit!00
114ms2920kbRaspuns gresit!00
124ms2880kbRaspuns gresit!00
134ms2988kbRaspuns gresit!0
144ms2920kbRaspuns gresit!0
154ms2764kbRaspuns gresit!0
164ms2900kbRaspuns gresit!0
174ms2728kbRaspuns gresit!0
184ms2968kbRaspuns gresit!00
194ms2896kbRaspuns gresit!0
204ms2760kbRaspuns gresit!0
Punctaj total3

Ceva nu functioneaza?