Pagini recente » Borderou de evaluare (job #2665388) | Borderou de evaluare (job #1591460) | Borderou de evaluare (job #1585616) | Borderou de evaluare (job #725758) | Borderou de evaluare (job #2236672)
Borderou de evaluare (job #2236672)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:44: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hi %hi %hi %hi", &m, &n, &r, &c);
^
user.cpp:43:44: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:43:44: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:43:44: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:48:38: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hi", &a[j][i]);
^
user.cpp:53:38: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hi", &a[i][j]);
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elimin.in", "r", stdin);
^
user.cpp:42:39: 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:43:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi %hi %hi %hi", &m, &n, &r, &c);
^
user.cpp:48:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi", &a[j][i]);
^
user.cpp:53:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 856kb | OK | 10 |
2 | 0ms | 756kb | OK | 10 |
3 | 0ms | 860kb | OK | 10 |
4 | 0ms | 932kb | OK | 10 |
5 | 0ms | 812kb | OK | 10 |
6 | 4ms | 988kb | OK | 10 |
7 | 52ms | 1132kb | Incorect | 0 |
8 | 16ms | 1232kb | Incorect | 0 |
9 | 80ms | 1516kb | OK | 10 |
10 | 100ms | 1716kb | Incorect | 0 |
Punctaj total | 70 |