# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
289171 | Touubs | 커다란 상품 (IOI17_prize) | C++17 | 76 ms | 5408 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "prize.h"
using namespace std;
#include <bits/stdc++.h>
int non_worst_box_cnt = 0;
bool notworst(vector<int> res) {
return (res[0] + res[1] != non_worst_box_cnt);
}
bool best(vector<int> res) {
return (res[0] + res[1] == 0);
}
bool contains(int a, vector<int> ares, int b, vector<int> bres) {
//cout << " checking between " << a << " and " << b << "\n";
return bres[0] != ares[0];
}
vector<vector<int>> askcache(200000);
vector<bool> asked(200000);
vector<int> ask_(int i) {
//cout << "asking " << i << "\n";
if (!asked[i]) {
asked[i] = true;
askcache[i] = ask(i);
}
return askcache[i];
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |