# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
548123 | aryan12 | Hiperkocka (COCI21_hiperkocka) | C++17 | 53 ms | 3660 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 <bits/stdc++.h>
using namespace std;
#define int long long
mt19937_64 RNG(chrono::steady_clock::now().time_since_epoch().count());
int n;
const int N = 17;
vector<pair<int, int> > g[N];
int val[N];
int power(int a, int b)
{
if(b == 0)
{
return 1;
}
if(b == 1)
{
return a;
}
int x = power(a, b / 2);
x *= x;
if(b & 1)
{
x *= a;
}
return x;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |