Borderou de evaluare (job #1270961)

Utilizator priestnoobFMI - Dan Nema priestnoob Data 22 noiembrie 2014 12:21:46
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:15: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:16:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",j); ^ user.cpp: In function ‘int main()’: user.cpp:29: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:29:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:27: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:28: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:29: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
30ms264kbIncorect0
40ms228kbFisier de iesire incomplet!0
50ms232kbFisier de iesire incomplet!0
60ms264kbIncorect0
70ms260kbIncorect0
80ms264kbIncorect0
90ms260kbIncorect0
100ms260kbIncorect0
Punctaj total10

Ceva nu functioneaza?