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