# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1194222 | PlayVoltz | Game (IOI14_game) | C++20 | 183 ms | 7056 KiB |
#include "game.h"
#include <bits/stdc++.h>
using namespace std;
vector<int> cc;
void initialize(int n){
cc.resize(n, 0);
}
int hasEdge(int a, int b){
++cc[max(a, b)];
if (cc[max(a, b)]==max(a, b))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... |