| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81832 | 杜奕辰 | 字符替换 | C++ | Compile Error | 0 MS | 0 KB | 12950 | 2024-07-12 15:40:14 |
#include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; } #include<bits/stdc++.h> using namespace std; int main() { char s[201]; cin>>s; char a,b; int x=0; cin>>a>>b; while(s[x]!='\0') { if(s[x]==a) s[x]=b; x++; } cout<<s; return 0; }
Main.cc: In function 'int main()':
Main.cc:20:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:37:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:54:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:71:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:88:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:105:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:122:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:139:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:156:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:173:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:190:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:207:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:224:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:241:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:258:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:275:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:292:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:309:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:326:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:343:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:360:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:377:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:394:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:411:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:428:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:445:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:462:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:479:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:496:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:513:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:530:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:547:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:564:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:581:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:598:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:615:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:632:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:649:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:666:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:683:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:700:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:717:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:734:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:751:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:768:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:785:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:802:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:819:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^
Main.cc: In function 'int main()':
Main.cc:836:5: error: redefinition of 'int main()'
int main() {
^
Main.cc:3:5: note: 'int main()' previously defined here
int main() {
^