# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
881606 | normankr07 | 휴가 (IOI14_holiday) | C++17 | 31 ms | 12164 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define fileio(name) \
if (fopen(name ".inp", "r")) \
freopen(name ".inp", "r", stdin), freopen(name ".out", "w", stdout)
const int maxn = 1e5 + 4;
int n, s, t, a[maxn], mp[maxn];
struct Node
{
int sum = 0, cnt = 0;
Node operator+(const Node &A) const
{
return {sum + A.sum, cnt + A.cnt};
}
} st[maxn * 4];
void update(int id, int l, int r, int i, int v)
{
if (id < 0 || id >= maxn * 4)
{
cout << 962006;
exit(0);
}
if (i < l || i > r)
return;
# | 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... |