# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1155814 | an22inkle | Game (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... |