| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1369543 | thesen | Game (IOI14_game) | C++20 | 123 ms | 6984 KiB |
#include "game.h"
#include <bits/stdc++.h>
using namespace std;
int a[2000];
void initialize(int n) {
for(int i = 0; i < 2000; i++) a[i] = 0;
}
int hasEdge(int u, int v) {
if(u < v)swap(u, v);
a[u]++;
if(a[u] == u)return 1;
else return 0;
}
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
