Pagini recente » Borderou de evaluare (job #337965) | Borderou de evaluare (job #787724) | Borderou de evaluare (job #3189768) | Borderou de evaluare (job #1904735) | Borderou de evaluare (job #1481992)
Borderou de evaluare (job #1481992)
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 |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 0ms | 268kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 0ms | 264kb | Incorect | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 272kb | Incorect | 0 |
10 | 0ms | 264kb | Incorect | 0 |
Punctaj total | 0 |