Borderou de evaluare (job #1207626)

Utilizator ericutzdevilEric Spataru ericutzdevil Data 13 iulie 2014 14:55:54
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cifra.in","r",stdin); ^ user.cpp:13:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cifra.out","w",stdout); ^ user.cpp:27:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d",&t); ^ user.cpp:32:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c); ^ user.cpp:25:4: warning: array subscript is above array bounds [-Warray-bounds] v[9]=9; ^ /tmp/ccq9ZE2a.o: In function `main': user.cpp:(.text.startup+0xe0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbRaspuns gresit!0
20ms272kbRaspuns gresit!0
30ms272kbRaspuns gresit!0
40ms268kbRaspuns gresit!0
50ms272kbRaspuns gresit!0
60ms276kbRaspuns gresit!0
70ms276kbRaspuns gresit!0
84ms276kbRaspuns gresit!0
98ms276kbRaspuns gresit!0
1016ms268kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?