# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
137755 | Mahdi_Jfri | The Big Prize (IOI17_prize) | C++14 | 104 ms | 5504 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "prize.h"
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
const int maxn = 2e5 + 20;
vector<int> res[maxn] , candid;
int mx;
bool found;
vector<int> reval(int k)
{
if(!res[k].empty())
return res[k];
res[k] = ask(k);
if(res[k][0] + res[k][1] == 0)
found = 1;
return res[k];
}
void solve(int l , int r)
{
if(found)
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |