# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
894933 | mdub | Genetics (BOI18_genetics) | C++14 | 595 ms | 575912 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 LL;
typedef unsigned __int128 i128;
LL MOD = 1e9 + 7;
const int N = 4100 + 5;
const int M = 4100 + 5;
int n, m, k;
string a[N];
LL prefA[N+1][M];
LL prefC[N+1][M];
LL prefG[N+1][M];
LL prefT[N+1][M];
LL weights[N];
LL total;
int main () {
int t = 1;
for (int iT = 0; iT < t; iT++) {
for (int stuff = 0; stuff < N; stuff++) weights[stuff] = 0;
for (int y = 0; y < N; y++) {
for (int x = 0; x < M; x++) {
prefA[y][x] = 0;
prefC[y][x] = 0;
prefG[y][x] = 0;
prefT[y][x] = 0;
}
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... |