# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
96039 | alextodoran | The grade (info1cup18_thegrade) | C++14 | 373 ms | 17656 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>
#define NRM 1000002
#define ll long long
using namespace std;
const ll MOD = 1e9+7;
ll pwr (ll a, ll b)
{
if(b == 0)
return 1;
ll p = pwr(a, b / 2);
if(b & 1)
return p * p % MOD * a % MOD;
return p * p % MOD;
}
ll inv (ll x)
{
return pwr(x, MOD - 2);
}
int q, n;
ll vf[NRM];
ll nr, sum;
ll perm = 1;
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |