14772022-11-05 22:09:24peti1234Egyengetőcpp14Wrong answer 0/1003ms3824 KiB
#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;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer3ms1868 KiB
2Wrong answer2ms2124 KiB
subtask20/20
3Wrong answer2ms2340 KiB
4Wrong answer2ms2412 KiB
5Wrong answer2ms2540 KiB
6Wrong answer2ms2612 KiB
7Wrong answer2ms2748 KiB
8Wrong answer2ms2948 KiB
subtask30/20
9Wrong answer2ms2920 KiB
10Wrong answer2ms3152 KiB
11Wrong answer2ms3288 KiB
12Wrong answer2ms3260 KiB
13Wrong answer2ms3260 KiB
14Wrong answer2ms3260 KiB
subtask40/20
15Wrong answer2ms3256 KiB
16Wrong answer2ms3256 KiB
17Wrong answer2ms3260 KiB
18Wrong answer2ms3364 KiB
19Wrong answer2ms3260 KiB
20Wrong answer2ms3260 KiB
subtask50/40
21Wrong answer2ms3364 KiB
22Wrong answer2ms3388 KiB
23Wrong answer2ms3588 KiB
24Wrong answer2ms3788 KiB
25Wrong answer2ms3824 KiB
26Wrong answer2ms3768 KiB