# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
66598 | Bruteforceman | Genetics (BOI18_genetics) | C++11 | 1621 ms | 9976 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "bits/stdc++.h"
using namespace std;
bitset <4105> P[4][4105];
char s[4105];
int cnt[4][4105];
int main(int argc, char const *argv[])
{
int n, m, k;
scanf("%d %d %d", &n, &m, &k);
for(int i = 0; i < n; i++) {
scanf("%s", s);
for(int j = 0; j < m; j++) {
if(s[j] == 'A') {
P[0][i][j] = 1;
++cnt[0][j];
}
else if (s[j] == 'C') {
P[1][i][j] = 1;
++cnt[1][j];
} else if (s[j] == 'T') {
P[2][i][j] = 1;
++cnt[2][j];
} else {
P[3][i][j] = 1;
++cnt[3][j];
}
}
}
vector <int> v;
컴파일 시 표준 에러 (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... |