Borderou de evaluare (job #1336669)

Utilizator xtreme77Patrick Sava xtreme77 Data 8 februarie 2015 00:29:33
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:28:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf ( "%d %d",&D [ i ] ,&C [ i ] ) ; ^ user.cpp:28:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:26:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d %d %d",&N,&P,&K ) ; ^ user.cpp:28:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d %d",&D [ i ] ,&C [ i ] ) ; ^ user.cpp:31:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d %d",&x,&y ) ; ^ user.cpp: In function ‘int main()’: user.cpp:82:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( "zmeu2.in","r",stdin ) ; ^ user.cpp:83:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( "zmeu2.out","w",stdout ) ; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbOK10
20ms300kbIncorect0
3Depăşit568kbTime limit exceeded.0
4Depăşit576kbTime limit exceeded.0
58ms468kbIncorect0
60ms332kbOK10
712ms364kbOK10
80ms300kbOK10
9Depăşit520kbTime limit exceeded.0
10Depăşit528kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?