Borderou de evaluare (job #1481895)

Utilizator theprdvtheprdv theprdv Data 5 septembrie 2015 15:48:12
Problema Elimin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d", &M, &N, &R, &C); ^ user.cpp:16:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:16:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:16:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:20:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &A[i][j]), ^ user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elimin.out", "w", stdout); ^ user.cpp:16:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &M, &N, &R, &C); ^ user.cpp:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] RSum[j] += A[i][j]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbIncorect0
20ms256kbIncorect0
30ms248kbIncorect0
40ms252kbIncorect0
50ms252kbIncorect0
60ms252kbIncorect0
70ms248kbIncorect0
80ms256kbIncorect0
90ms256kbIncorect0
100ms248kbIncorect0
Punctaj total0

Ceva nu functioneaza?