# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
760797 | MetalPower | Genetics (BOI18_genetics) | C++14 | 299 ms | 36220 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
#define ll long long
const int MX = 4105;
int N, M, K, wt[MX]; ll sum[MX][4];
string s[MX];
int index(char c){
if(c == 'A') return 0;
else if(c == 'C') return 1;
else if(c == 'G') return 2;
else return 3;
}
random_device rd;
mt19937 rng(rd());
uniform_int_distribution<> distrib(1, 1 << 30);
int main(){
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
cin >> N >> M >> K;
for(int i = 0; i < N; i++) cin >> s[i];
ll tot_wt = 0;
for(int i = 0; i < N; i++){
wt[i] = distrib(rng);
# | 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... |