# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
201599 | Alexa2001 | Fire (JOI20_ho_t5) | C++17 | 412 ms | 35904 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
const int Nmax = 2e5 + 5;
typedef long long ll;
int n, q;
int A[Nmax], Prev[Nmax], Next[Nmax], st[Nmax];
ll ans[Nmax];
struct event
{
int tip, t, p, w;
bool operator < (const event &other) const
{
return other.t - t < other.p - p;
}
};
vector<event> ev;
struct AIB
{
ll a[Nmax], b[Nmax];
int ub(int x) { return (x&(-x)); }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |