#include<bits/stdc++.h>
using namespace std;
int main()
{
	char a[255];
	scanf("%s",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; 
}

3 条评论

  • @ 2024-12-5 19:55:03

    #include<iostream> using namespace std; int main() { long long a,b; cin>>a>>b; cout<<a+b; }

    • @ 2024-12-5 19:54:26

      ................................................................................................................................................................................................................................................................................................................................................................................................................................

      🤣 1
      • @ 2023-12-31 16:42:22

        仅限张博chao

        • 1

        信息

        ID
        1
        时间
        1000ms
        内存
        256MiB
        难度
        8
        标签
        递交数
        1157
        已通过
        188
        上传者