Borderou de evaluare (job #1677702)

Utilizator mihneacazCazacu Mihnea mihneacaz Data 6 aprilie 2016 18:56:19
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:46: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:47: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:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&n); ^ user.cpp:52:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘int calc(int, int)’: user.cpp:43:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /tmp/ccINlvJV.o: In function `main': user.cpp:(.text.startup+0x80): 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
30ms264kbRaspuns gresit!0
40ms268kbRaspuns gresit!0
50ms264kbRaspuns gresit!0
60ms264kbRaspuns gresit!0
78ms264kbRaspuns gresit!0
812ms264kbRaspuns gresit!0
924ms264kbRaspuns gresit!0
1044ms260kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?