# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
13388 | baneling100 | Game (IOI13_game) | C++98 | 6784 ms | 76452 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 <stdio.h>
struct Xnode {
Xnode(int l_, int r_) {left=right=NULL, l=l_, r=r_, info=NULL;}
Xnode *left, *right;
int l, r;
long long info;
};
struct Ynode {
Ynode() {left=right=NULL, Xroot=NULL;}
Ynode *left, *right;
Xnode *Xroot;
} *Yroot;
int R, C, P, Q, U, V;
long long K;
long long gcd2(long long X, long long Y) {
long long tmp;
if(!X) {
tmp=X;
X=Y;
Y=tmp;
}
while(X!=Y && Y!=0) {
tmp=X;
X=Y;
Y=tmp%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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |