Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
48616 | zhangchunhong | 配对碱基链 | C++ | Accepted | 0 MS | 248 KB | 249 | 2024-06-09 17:46:06 |
#include<bits/stdc++.h> using namespace std; int main() { char a[85]; cin>>a; for(int i=0;i<strlen(a);i++){ if(a[i]=='A')cout<<"T"; else if(a[i]=='T') cout<<"A"; else if(a[i]=='C') cout<<"G"; else cout<<"C"; } return 0; }