卬高杯
提出id | 提出時刻 | ユーザー名 | 問題 | 言語 | 判定状況 | 判定 | 実行時間 |
---|---|---|---|---|---|---|---|
114754 | 2023-10-24 07:40:01 | Nanzan | B | python | 18/18 | RE | 79 |
#include <bits/stdc++.h>
using namespace std;
int main(){
string s;cin>>s;
for(int i=0;i<s.length();i++){
if(s.at(i) == 'x'){s=s.replace(i,1,"Twitter");i+=7;}
}
cout<<s<<endl;
return 0;
}
sample1.txt RE 74 sample2.txt RE 74 sample3.txt RE 75 case1.txt RE 79 case2.txt RE 74 case3.txt RE 74 case4.txt RE 74 case5.txt RE 74 case6.txt RE 75 case7.txt RE 74 case8.txt RE 77 case9.txt RE 74 case10.txt RE 75 case11.txt RE 76 case12.txt RE 74 case13.txt RE 75 case14.txt RE 76 case15.txt RE 75 79 RE
File "/var/www/judge/submit2/114754/a.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax