Borderou de evaluare (job #1930037)

Utilizator delta_wolfAndrei Stoica delta_wolf Data 18 martie 2017 14:25:54
Problema Permutare4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:42: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld",&a[i][j]); ^ user.cpp:92:39: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld ",a[1][j]); ^ user.cpp:94:39: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld ",a[2][j]); ^ user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("permutare4.in","r",stdin); ^ user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("permutare4.out","w",stdout); ^ user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp:18:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&a[i][j]); ^ user.cpp:52:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms312kbIncorect0
2124ms708kbIncorect0
31024ms4192kbIncorect0
4516ms4200kbOK10
5520ms4200kbOK10
6628ms3888kbIncorect0
7436ms4188kbOK10
852ms708kbOK10
94ms304kbOK10
100ms300kbIncorect0
Punctaj total50

Ceva nu functioneaza?