답안 #686367

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
686367 2023-01-25T08:24:28 Z opPO Xoractive (IZhO19_xoractive) C++17
6 / 100
1 ms 208 KB
#pragma GCC optimize("O3,unroll-loops")
#include "interactive.h"
#include <bits/stdc++.h>

using namespace std;

#define f first
#define s second
#define pb push_back
#define ld long double
#define sz(x) (int)x.size()
#define all(x) x.begin(), x.end()
#define rall(x) x.rbegin(), x.rend()
#define vec vector

using ll = long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;

mt19937_64 gen(chrono::steady_clock::now().time_since_epoch().count());
const ld eps = 1e-6;
const int mod = 1e9 + 7;
const int oo = 2e9;
const ll OO = 2e18;
const int N = 2e5 + 10;

vec<int> guess(int n)
{
    vec<int> ans(n);
    for (int i = 0; i < n; i++)
    {
        ans[i] = ask(i + 1);
    }
    return ans;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 208 KB Output is correct
2 Correct 0 ms 208 KB Output is correct
3 Correct 1 ms 208 KB Output is correct
4 Correct 0 ms 208 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 208 KB Output isn't correct
2 Halted 0 ms 0 KB -