結果

問題 No.292 芸名
ユーザー taktak
提出日時 2018-06-12 17:20:52
言語 C++17(clang)
(17.0.6 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 292 bytes
コンパイル時間 794 ms
コンパイル使用メモリ 126,464 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-30 12:32:02
合計ジャッジ時間 1,351 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
#include <cstring>
#include <vector>

using namespace std;
string N;
int t,u;
int main(){
    cin>>N;
    cin>>t;
    cin>>u;
    for(int i=0; N.length() > i; ++i){
        if(i!=t&&i!=u) 
            printf("%c",N[i]);
    }
    puts("");
    return 0;
}
0