# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
378267 | negar_a | Genetics (BOI18_genetics) | C++14 | 385 ms | 19948 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.
//!yrt tsuj uoy srettam gnihton no emoc
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define pb push_back
#define mp make_pair
#define pii pair <int, int>
#define fast_io ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define F first
#define S second
mt19937 Rnd(time(0));
const int maxn = 4100 + 5;
int n, m, k;
ll id[maxn], sm[maxn][5];
ll base = 31;
string s[maxn];
int main(){
fast_io;
cin >> n >> m >> k;
ll tot = 0;
ll x = 1;
for(int i = 0; i < n; i ++){
cin >> s[i];
id[i] = x;
x *= base;
for(int j = 0; j < m; j ++){
# | 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... |