# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1207173 | agusst | Game (IOI14_game) | C++20 | 0 ms | 328 KiB |
#include "game.h"
#include <bits/stdc++.h>
using namespace std;
vector<int> nose;
void initialize(int n) {
nose.assign(n, n - 1);
}
int hasEdge(int u, int v) {
if(nose[u] == 1 or nose[v] == 1){
return 1;
}
nose[u]--;
nose[v]--;
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... |