Borderou de evaluare (job #1434705)

Utilizator AndreosAndrei Otetea Andreos Data 11 mai 2015 10:19:14
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:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ 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/ccbWfbwn.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
10ms264kbRaspuns gresit!0
20ms264kbRaspuns gresit!0
30ms260kbRaspuns gresit!0
40ms264kbRaspuns gresit!0
50ms264kbRaspuns gresit!0
60ms264kbRaspuns gresit!0
70ms264kbRaspuns gresit!0
84ms260kbRaspuns gresit!0
98ms256kbRaspuns gresit!0
1016ms256kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?