結果

問題 No.292 芸名
ユーザー fiord
提出日時 2015-10-24 00:15:39
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 269 bytes
コンパイル時間 1,588 ms
コンパイル使用メモリ 159,132 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-13 04:17:59
合計ジャッジ時間 2,360 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main(){
    string s;    cin>>s;
    int a,b;    cin>>a>>b;
    s[a]=='C';    s[b]=='C';
    for(int i=0;i<(int)s.size();i++){
        if(s[i]=='C')    continue;
        cout<<s[i];
    }
    cout<<endl;
    return 0;
}
0