# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
544740 | rainboy | Genetics (BOI18_genetics) | C11 | 723 ms | 33392 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 <stdio.h>
#define N 4100
#define M 4100
#define MD 0x7fffffff
#define X 12345
#define Y 54321
int px[N], py[N];
void init() {
int i;
px[0] = py[0] = 1;
for (i = 1; i < N; i++) {
px[i] = (long long) px[i - 1] * X % MD;
py[i] = (long long) py[i - 1] * Y % MD;
}
}
int main() {
static char cc[N][M + 1];
static long long xx[N], yy[N];
int n, m, d_, h, i, j, x, y;
init();
scanf("%d%d%d", &n, &m, &d_);
for (i = 0; i < n; i++)
scanf("%s", cc[i]);
for (i = 0; i < n; i++) {
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... |