Borderou de evaluare (job #1319102)

Utilizator priestnoobFMI - Dan Nema priestnoob Data 16 ianuarie 2015 17:58:42
Problema Beri Status done
Runda Teme Pregatire ACM Unibuc 2014, Anul I Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d%d%d",&n,&k,&q,&x,&y,&z); ^ user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void solve()’: user.cpp:26:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",sum); ^ user.cpp: In function ‘void citire()’: user.cpp:13:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d",&n,&k,&q,&x,&y,&z); ^ user.cpp: In function ‘int main()’: user.cpp:31:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("beri.in","r",stdin); ^ user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("beri.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms276kbOK10
30ms312kbIncorect0
44ms664kbIncorect0
520ms2228kbIncorect0
636ms4180kbIncorect0
756ms6132kbIncorect0
860ms7300kbIncorect0
964ms7688kbIncorect0
1076ms8080kbIncorect0
Punctaj total20

Ceva nu functioneaza?