Borderou de evaluare (job #1204760)

Utilizator apopeid15Apopei Daniel apopeid15 Data 3 iulie 2014 20:59:31
Problema Balans Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:49: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ( "%ld %ld %ld %ld" , &N , &M , &R, &C) ; ^ user.cpp:18:49: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:18:49: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:18:49: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:13:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( "balans.in" , "r" , stdin ) ; ^ user.cpp:14:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( "balans.out" , "w" , stdout ) ; ^ user.cpp:18:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%ld %ld %ld %ld" , &N , &M , &R, &C) ; ^ user.cpp:34:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &mat[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11600ms636kbOK5
21796ms644kbOK5
31816ms644kbOK5
41840ms648kbOK5
51612ms636kbOK5
61644ms636kbOK5
71664ms640kbOK5
81640ms636kbOK5
91672ms636kbOK5
101832ms644kbOK5
11860ms648kbOK5
121296ms612kbOK5
13120ms520kbOK5
14256ms648kbOK5
154ms352kbOK5
162812ms648kbOK5
1748ms396kbOK5
188ms404kbOK5
190ms400kbOK5
20124ms500kbOK5
Punctaj total100

Ceva nu functioneaza?