Borderou de evaluare (job #1270489)

Utilizator priestnoobFMI - Dan Nema priestnoob Data 22 noiembrie 2014 11:51:59
Problema Taste Status done
Runda FMI No Stress 5 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:11:27: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] while( (x % ( 1<<j+1) ) == 0) ^ user.cpp:16:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",x / (1<<j)); ^ user.cpp:17:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",j); ^ user.cpp:15:13: warning: unused variable ‘q’ [-Wunused-variable] int q=j; ^ user.cpp: In function ‘int main()’: user.cpp:26:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&x,&y); ^ user.cpp:26:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.in","r",stdin); ^ user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.out","w",stdout); ^ user.cpp:26:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbCorect10
20ms260kbIncorect0
30ms256kbIncorect0
40ms228kbFisier de iesire incomplet!0
50ms232kbFisier de iesire incomplet!0
60ms264kbIncorect0
70ms260kbIncorect0
80ms264kbIncorect0
90ms256kbIncorect0
100ms260kbIncorect0
Punctaj total10

Ceva nu functioneaza?