Borderou de evaluare (job #1272873)

Utilizator priestnoobFMI - Dan Nema priestnoob Data 22 noiembrie 2014 14:36:20
Problema Taste Status done
Runda FMI No Stress 5 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void sol(int)’: user.cpp:15: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:61: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:61:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:59: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:60: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:61: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
20ms256kbIncorect0
30ms264kbIncorect0
4Depăşit232kbTime limit exceeded.0
50ms260kbCorect10
60ms264kbIncorect0
70ms264kbIncorect0
80ms260kbIncorect0
90ms264kbIncorect0
100ms260kbIncorect0
Punctaj total20

Ceva nu functioneaza?