Borderou de evaluare (job #1692128)

Utilizator cyg_MariusBrabete Marius Stelian cyg_Marius Data 20 aprilie 2016 10:30:03
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:17:15: warning: unused variable ‘n’ [-Wunused-variable] int p,t,l,n,i,j,u,e,nr; ^ user.cpp:17:19: warning: unused variable ‘j’ [-Wunused-variable] int p,t,l,n,i,j,u,e,nr; ^ user.cpp:15: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:16: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:18:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:30:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/cc8ns11X.o: In function `main': user.cpp:(.text.startup+0x152): 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
70ms264kbRaspuns gresit!0
84ms268kbRaspuns gresit!0
98ms264kbRaspuns gresit!0
1016ms268kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?