# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1136082 | mychecksedad | Mizuyokan 2 (JOI23_mizuyokan2) | C++20 | 2494 ms | 55108 KiB |
/* Author : Mychecksdead */
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define MOD (1000000000+7)
#define MOD1 (998244353)
#define pb push_back
#define all(x) x.begin(), x.end()
#define en cout << '\n'
#define ff first
#define ss second
#define pii pair<int,int>
#define vi vector<int>
const int N = 2e5+100, M = 1e5+10, K = 31, MX = 200;
int n, ANS[N], GO_SMALL[N], GO_BIG[N];
ll a[N], pref[N];
void solv(int A, int B, array<int, 2> *dp){
dp[0][0] = dp[0][1] = -MOD;
dp[1][0] = 1;
dp[1][1] = -MOD;
for(int j = A + 1; j <= B; ++j){
// int l = A, r = j - 1, go = j;
// while(l <= r){
// int m = l + r>>1;
// if(pref[j - 1] - pref[m - 1] > a[j]){
// go = m;
// l = m + 1;
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |