Pagini recente » Borderou de evaluare (job #467264) | Borderou de evaluare (job #66112) | Borderou de evaluare (job #1910594) | Borderou de evaluare (job #952580) | Borderou de evaluare (job #1662295)
Borderou de evaluare (job #1662295)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
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 | 272kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 4ms | 488kb | OK | 10 |
6 | 28ms | 976kb | OK | 10 |
7 | 32ms | 1092kb | OK | 10 |
8 | 44ms | 1440kb | OK | 10 |
9 | 48ms | 1592kb | OK | 10 |
10 | 60ms | 1824kb | OK | 10 |
Punctaj total | 100 |