# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
936912 | the_coding_pooh | Snowball (JOI21_ho_t2) | C++14 | 287 ms | 24144 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define uwu return 0;
using namespace std;
const int SIZE = 2e5 + 5;
int N, Q;
const long long INF = 3e18 + 5;
long long L[SIZE], R[SIZE], W[SIZE], X[SIZE];
#define fs first
#define sc second
int main(){
cin >> N >> Q;
X[N + 1] = INF;
X[0] = -INF;
for (int i = 1; i <= N;i++){
cin >> X[i];
W[i] = 0;
}
long long in_W, mnL = 0, mxR = 0, nX = 0;
multiset <pair<long long, long long>> opW;
opW.insert({0, 0});
for (int i = 1; i <= Q;i++){
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |