# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
136173 | OptxPrime | Game (IOI14_game) | C++11 | 515 ms | 25360 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 <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
#include<queue>
#include<map>
#include<string.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define fb find_best
int n;
int rank1[1510],p[1510];
// map<int,int> d;
int d[1510][1510];
int sz[1510];
int findset( int x )
{
if( p[x]!=x ) return p[x]=findset( p[x] );
else return x;
}
void uniset( int x, int y )
{
//if( issameset( x,y ) ) return;
int a=findset(x);
int b=findset(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... |