| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1059291 | vjudge1 | Game (IOI14_game) | C++17 | 1 ms | 600 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "game.h"
#include<bits/stdc++.h>
#define ll long long
#define pb push_back
using namespace std;
int N, R;
vector<int> cnt(1505,0);
void initialize(int n) {
N = n;
R = 0;
}
int hasEdge(int u, int v) {
cnt[u]++;
cnt[v]++;
int ans=0;
if((cnt[u] == N-1 || cnt[v] == N-1) && R != (N*(N-1))/2 - 1){
ans = 1;
}
return ans;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
