# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
798918 | QwertyPi | Game (IOI13_game) | C++14 | 2204 ms | 81980 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>
using namespace std;
long long gcd2(long long X, long long Y) {
return __gcd(X, Y);
}
struct y_node{
y_node() : l(0), r(0), left(NULL), right(NULL), a(0LL) {};
y_node(int l, int r) : l(l), r(r), left(NULL), right(NULL), a(0LL) {};
int l, r;
long long a = 0;
y_node *left = 0, *right = 0;
};
struct x_node{
long long a = 0;
x_node *left = 0, *right = 0;
y_node y_tree;
};
int R, C;
long long get(y_node *v){
if(!v) return 0;
return v->a;
}
long long get(x_node *v){
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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |