Borderou de evaluare (job #1481992)

Utilizator theprdvtheprdv theprdv Data 5 septembrie 2015 19:07:50
Problema Elimin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool check(int)’: user.cpp:15:20: warning: unused variable ‘sum’ [-Wunused-variable] int x = i, j = 0, sum = 0; ^ user.cpp: In function ‘int main()’: user.cpp:24: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:24:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:24:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:24:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:29:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &A[i][j]), ^ user.cpp:22: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:24: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:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] Tsum += A[i][j]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbIncorect0
20ms264kbIncorect0
30ms268kbIncorect0
40ms268kbIncorect0
50ms268kbIncorect0
60ms268kbIncorect0
70ms264kbIncorect0
80ms268kbIncorect0
90ms272kbIncorect0
100ms264kbIncorect0
Punctaj total0

Ceva nu functioneaza?