제출 #1155814

#제출 시각아이디문제언어결과실행 시간메모리
1155814an22inkle게임 (IOI14_game)C++20
0 / 100
0 ms324 KiB
#include "game.h"
#include <bits/stdc++.h>
using namespace std;
int N = 0, asked = 0;

void initialize(int n) {
    N = n;
}

int hasEdge(int u, int v) {
    asked++;
    if (asked == N*(N + 1) / 2 ) {
        return 1;
    } else {
        return 0;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...