Borderou de evaluare (job #1688079)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 13 aprilie 2016 11:27:14
Problema Clasament Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf ( "%d" , rez ) ; ^ user.cpp:8:21: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] int n , o , x , p = 0 , i ; ^ user.cpp:9:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( "clasament.in" , "r" , stdin ) ; ^ user.cpp:10:48: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( "clasament.out" , "w" , stdout ) ; ^ user.cpp:11:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d%d" , & n , & o ) ; ^ user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d" , & x ) ; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms268kbIncorect0
30ms268kbIncorect0
40ms264kbIncorect0
520ms264kbIncorect0
624ms328kbOK10
728ms332kbIncorect0
824ms344kbIncorect0
924ms284kbIncorect0
1020ms268kbIncorect0
Punctaj total20

Ceva nu functioneaza?