Borderou de evaluare (job #1434700)

Utilizator AndreosAndrei Otetea Andreos Data 11 mai 2015 09:55:03
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void rezolvare()’: user.cpp:10:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘int main()’: user.cpp:27:34: 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:28:36: 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: In function ‘void rezolvare()’: user.cpp:22:12: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] x=x%100; ^ /tmp/cciIge6o.o: In function `rezolvare()': user.cpp:(.text+0x15): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms220kbRaspuns gresit!0
20ms228kbRaspuns gresit!0
30ms224kbRaspuns gresit!0
40ms228kbRaspuns gresit!0
50ms224kbRaspuns gresit!0
60ms224kbRaspuns gresit!0
70ms224kbRaspuns gresit!0
80ms224kbRaspuns gresit!0
90ms224kbRaspuns gresit!0
100ms224kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?