# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
213441 | MKopchev | Genetics (BOI18_genetics) | C++14 | 1423 ms | 54396 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;
const int nmax=4100+42,SZ=16,LIM=1<<SZ;
int n,m,k;
char inp[nmax][nmax];
char in()
{
char c=getchar();
while(c!='A'&&c!='C'&&c!='G'&&c!='T')c=getchar();
return c;
}
int seen[4][nmax];
int hsh(char c)
{
if(c=='A')return 0;
if(c=='C')return 1;
if(c=='G')return 2;
return 3;
}
unsigned int hsh_values[nmax][nmax];
int bits_in[LIM];
int ask(unsigned int val)
{
return bits_in[val/LIM]+bits_in[val%LIM];
}
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... |