#include <bits/stdc++.h>
#include "grader.h"
using namespace std;
int n, k;
long long ans;
priority_queue<int> kis;
priority_queue<int, vector<int>, greater<int> > nagy;
int main()
{
return 0;
/*n=getN(), k=getK();
for (int i=0; i<n; i++) {
int ert=Data();
kis.push(ert), nagy.push(ert+k);
int a=kis.top(), b=nagy.top();
if (a>b) {
ans+=a-b;
kis.pop(), nagy.pop();
kis.push(b), nagy.push(a);
}
Solution(ans);
}*/
return 0;
}
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 3ms | 1868 KiB | ||||
2 | Wrong answer | 2ms | 2124 KiB | ||||
subtask2 | 0/20 | ||||||
3 | Wrong answer | 2ms | 2340 KiB | ||||
4 | Wrong answer | 2ms | 2412 KiB | ||||
5 | Wrong answer | 2ms | 2540 KiB | ||||
6 | Wrong answer | 2ms | 2612 KiB | ||||
7 | Wrong answer | 2ms | 2748 KiB | ||||
8 | Wrong answer | 2ms | 2948 KiB | ||||
subtask3 | 0/20 | ||||||
9 | Wrong answer | 2ms | 2920 KiB | ||||
10 | Wrong answer | 2ms | 3152 KiB | ||||
11 | Wrong answer | 2ms | 3288 KiB | ||||
12 | Wrong answer | 2ms | 3260 KiB | ||||
13 | Wrong answer | 2ms | 3260 KiB | ||||
14 | Wrong answer | 2ms | 3260 KiB | ||||
subtask4 | 0/20 | ||||||
15 | Wrong answer | 2ms | 3256 KiB | ||||
16 | Wrong answer | 2ms | 3256 KiB | ||||
17 | Wrong answer | 2ms | 3260 KiB | ||||
18 | Wrong answer | 2ms | 3364 KiB | ||||
19 | Wrong answer | 2ms | 3260 KiB | ||||
20 | Wrong answer | 2ms | 3260 KiB | ||||
subtask5 | 0/40 | ||||||
21 | Wrong answer | 2ms | 3364 KiB | ||||
22 | Wrong answer | 2ms | 3388 KiB | ||||
23 | Wrong answer | 2ms | 3588 KiB | ||||
24 | Wrong answer | 2ms | 3788 KiB | ||||
25 | Wrong answer | 2ms | 3824 KiB | ||||
26 | Wrong answer | 2ms | 3768 KiB |