結果

問題 No.292 芸名
ユーザー 👑 CleyL
提出日時 2020-01-08 01:26:32
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 225 bytes
コンパイル時間 488 ms
コンパイル使用メモリ 64,920 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-23 01:42:31
合計ジャッジ時間 1,147 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 2 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    string s;cin>>s;
    int a,b;cin>>a>>b;
    for(int i = 0; s.size() > i; i++){
        if(i+1 == a || i+1 == b)continue;
        cout << s[i];
    }
    cout << endl;
}
0