Borderou de evaluare (job #1319108)

Utilizator priestnoobFMI - Dan Nema priestnoob Data 16 ianuarie 2015 18:00:49
Problema Beri Status done
Runda Teme Pregatire ACM Unibuc 2014, Anul I Compilator cpp | Vezi sursa
Scor 100

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: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
10ms260kbOK10
20ms272kbOK10
30ms304kbOK10
44ms660kbOK10
520ms2220kbOK10
636ms4172kbOK10
756ms6124kbOK10
860ms7300kbOK10
964ms7692kbOK10
1076ms8072kbOK10
Punctaj total100

Ceva nu functioneaza?