Borderou de evaluare (job #1878180)

Utilizator gavra_bogdanBogdan Gavra gavra_bogdan Data 13 februarie 2017 22:07:02
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:36:13: warning: unused variable ‘uc’ [-Wunused-variable] int uc=a; ^ user.cpp:17: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:18: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:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:22:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c); ^ /tmp/cc7n2psK.o: In function `main': user.cpp:(.text.startup+0xc2): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbRaspuns gresit!0
20ms436kbRaspuns gresit!0
30ms436kbRaspuns gresit!0
40ms436kbRaspuns gresit!0
50ms436kbRaspuns gresit!0
60ms436kbRaspuns gresit!0
70ms440kbRaspuns gresit!0
84ms440kbRaspuns gresit!0
98ms432kbRaspuns gresit!0
1016ms432kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?