# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20012 | algoshipda | 창문 (kriii4_C) | C++14 | 0 ms | 1720 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;
typedef long long lld;
const lld MOD = 1e9 + 7;
inline void norm(lld& a)
{
a = ((a % MOD + MOD) % MOD);
}
inline lld norm2(lld a)
{
return a = ((a % MOD + MOD) % MOD);
}
inline void mult(lld& a, lld b)
{
norm(a);
norm(b);
a = 1ll * a * b;
norm(a);
}
inline lld mult2(lld a, lld b)
{
norm(a);
norm(b);
return norm2(1ll * a * b);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |