Pagini recente » Borderou de evaluare (job #2048069) | Borderou de evaluare (job #537141) | Borderou de evaluare (job #2608102) | Borderou de evaluare (job #2105805) | Borderou de evaluare (job #1662287)
Borderou de evaluare (job #1662287)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", omin);
^
user.cpp:14:32: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, half, mid, x, j, pos;
^
user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare2.in", "r", stdin);
^
user.cpp:13:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare2.out", "w", stdout);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:23:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &perm[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 324kb | OK | 10 |
5 | 4ms | 504kb | OK | 10 |
6 | 32ms | 984kb | OK | 10 |
7 | 32ms | 1112kb | OK | 10 |
8 | 44ms | 1452kb | Incorect | 0 |
9 | 48ms | 1608kb | OK | 10 |
10 | 52ms | 1828kb | Incorect | 0 |
Punctaj total | 80 |