Borderou de evaluare (job #1271371)

Utilizator priestnoobFMI - Dan Nema priestnoob Data 22 noiembrie 2014 12:53:03
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:48: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:48:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:46: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:47: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:48: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
50ms256kbCorect10
60ms260kbIncorect0
70ms260kbIncorect0
80ms264kbIncorect0
90ms260kbIncorect0
100ms260kbIncorect0
Punctaj total20

Ceva nu functioneaza?