結果

問題 No.292 芸名
ユーザー Yut176Yut176
提出日時 2016-10-05 15:36:27
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 400 bytes
コンパイル時間 546 ms
コンパイル使用メモリ 72,988 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-21 17:19:29
合計ジャッジ時間 1,258 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<string>
#include<sstream>
#include<cmath>
using namespace std;


int main(){

  string s;
  int t, u;
  cin >> s >> t >> u;
  s[t] = ' ';
  s[u] = ' ';
  for(int i=0; i<s.size(); i++){
    if( s[i] == ' ' ) continue;
    cout << s[i];
  }
  cout << endl;

  return 0;
}
0