# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1261659 | ciao_gio | Game (IOI14_game) | C++20 | 175 ms | 7084 KiB |
#include "game.h"
#include <bits/stdc++.h>
using namespace std;
vector<int> G;
void initialize(int n) {
G.resize(n);
iota(begin(G), end(G), 0);
}
int hasEdge(int u, int v) {
if (u < v) swap(u, v);
return (--G[u] < 1);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |