| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1234601 | gry3125 | DNA 돌연변이 (IOI21_dna) | C++20 | 17 ms | 2368 KiB |
#include "dna.h"
#include <bits/stdc++.h>
using namespace std;
string a, b;
void init(string aa, string bb) {
a = aa; b = bb;
}
int get_distance(int x, int y) {
if (x == y) {
if (a[x] == b[x]) return 0;
return -1;
}
if (a[x] == b[x] && a[y] == b[y]) return 0;
if (a[x] == b[y] && a[y] == b[x]) return 1;
return -1;
}
| # | 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... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
