Borderou de evaluare (job #1489222)

Utilizator SilviuIIon Silviu SilviuI Data 20 septembrie 2015 19:38:31
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:16:30: 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:17:32: 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:18:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:25:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); m=strlen(s+1); x=0; ^ /tmp/ccQtfrUU.o: In function `main': user.cpp:(.text.startup+0x1f1): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbRaspuns gresit!0
20ms268kbRaspuns gresit!0
30ms260kbRaspuns gresit!0
40ms264kbRaspuns gresit!0
50ms264kbRaspuns gresit!0
60ms264kbRaspuns gresit!0
70ms264kbRaspuns gresit!0
84ms264kbRaspuns gresit!0
98ms268kbRaspuns gresit!0
1020ms264kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?