Borderou de evaluare (job #1317887)

Utilizator VladBtzbieltz vlad VladBtz Data 15 ianuarie 2015 12:38:32
Problema Jocul Flip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:30: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%lld %lld",&n ,&m ) ; ^ user.cpp:9:30: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:10:59: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] for(i=0;i<n;i++)for (j=0;j<m;j++)scanf("%lld" , a[i]+j); ^ user.cpp:18:56: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long int’ [-Wformat=] freopen("flip.out","w",stdout);printf("%lld\n",smax); ^ user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("flip.in","r",stdin) ; ^ user.cpp:9:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld",&n ,&m ) ; ^ user.cpp:10:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=0;i<n;i++)for (j=0;j<m;j++)scanf("%lld" , a[i]+j); ^ user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flip.out","w",stdout);printf("%lld\n",smax); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbRaspuns gresit0
20ms432kbRaspuns gresit0
30ms428kbRaspuns gresit0
40ms432kbRaspuns gresit0
50ms432kbRaspuns gresit0
60ms432kbRaspuns gresit0
70ms432kbRaspuns gresit0
80ms428kbRaspuns gresit0
90ms428kbRaspuns gresit0
100ms428kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?