Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
37319 ☩Deutschland☩ 配对碱基链 C++ 解答错误 1 MS 252 KB 351 2024-01-20 10:35:35

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main(){ char ns[256]; for(int j=0;j<256;j++){ cin>>ns[j]; for(int i=0;i<256;i++){ if(ns[i]=='A'){ ns[i]+=19; } if(ns[i]=='T'){ ns[i]-=19; } if(ns[i]=='C'){ ns[i]+=4; } if(ns[i]=='G'){ ns[i]-=4; } } cout<<ns[j]; } return 0; }


测评信息: