| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133710 | 郝王骏程 | 删除单词后缀 | C++ | Compile Error | 0 MS | 0 KB | 270 | 2025-10-20 18:27:04 |
#include <bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; int len=s.length(); for(int i=0;i<len;i++){ if(s[i]=='A'){ s[i]='T'; }else if(s[i]=='T'){ s[i]='A'; }else if(s[i]=='G'){ s[i]='C'; } cout<<s; return 0; }
Main.cc: In function 'int main()': Main.cc:18:1: error: expected '}' at end of input } ^