# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1155814 | an22inkle | 게임 (IOI14_game) | C++20 | 0 ms | 324 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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |