| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 79949 | sh25_wuyy | 配对碱基链 | C++ | Accepted | 0 MS | 240 KB | 435 | 2026-01-04 14:53:10 |
#include<bits/stdc++.h> using namespace std; int main() { string a,b; cin>>a; int k=a.length(); for(int i=0;i<k;i++){ char ai=a[i]; if(ai=='A'){ b[i]='T'; }else if(ai=='T'){ b[i]='A'; }else if(ai=='G'){ b[i]='C'; }else if(ai=='C'){ b[i]='G'; } }for(int i=0;i<k;i++){ cout<<b[i]; }return 0; }