Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
48618 yuzhengxun 配对碱基链 C++ Accepted 0 MS 248 KB 269 2024-06-09 17:47:26

Tests(1/1):


#include<bits/stdc++.h> using namespace std; char a[260]; int main() { 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]=='G'){ cout<<"C"; }else{ cout<<"G"; } } return 0; }


Judgement Protocol: