# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1164057 | Aliyyiakbar | Game (IOI14_game) | C++20 | 178 ms | 8256 KiB |
#include "bits/stdc++.h"
#include "game.h"
using namespace std;
const int sz = 3e5 + 9;
int used[sz];
void initialize(int __n)
{
memset(used, 0, sizeof(used));
return;
}
int hasEdge(int x, int y)
{
++used[max(x, y)];
return used[max(x, y)] == max(x, y);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |