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 <algorithm>
#include <iostream>
#include <cmath>
#include <vector>
#include <set>
#include <ctime>
#include <cstdlib>
#include <bitset>
using namespace std;
const int maxn=1505;
int br[maxn];
void initialize(int a){
}
int hasEdge(int x, int y){
if(x>y){
swap(x, y);
}
br[y]++;
if(br[y]==y){
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... |