# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
986389 | emad234 | Game (IOI14_game) | C++17 | 231 ms | 18252 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.
#pragma once
#include "bits/stdc++.h"
#define F first
#define S second
#define ll long long
#define pii pair<int,int>
const int mxN = 1505;
const int mod = 1e9 + 7;
using namespace std;
vector<int>s[mxN];
int N;
int cnt[mxN];
void initialize(int n){
N = n;
}
int hasEdge(int u, int v){
if(u < v) swap(u,v);
cnt[u]++;
return cnt[u] == u;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |