結果

問題 No.292 芸名
ユーザー magmag
提出日時 2020-06-16 02:59:35
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 909 bytes
コンパイル時間 1,396 ms
コンパイル使用メモリ 163,988 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-16 10:48:40
合計ジャッジ時間 2,124 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 2 ms
4,376 KB
testcase_03 AC 1 ms
4,380 KB
testcase_04 AC 1 ms
4,384 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 AC 2 ms
4,380 KB
testcase_08 AC 2 ms
4,380 KB
testcase_09 AC 1 ms
4,376 KB
testcase_10 AC 2 ms
4,376 KB
testcase_11 AC 2 ms
4,376 KB
testcase_12 AC 1 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;
using ll=long long;
#define rep2(i, a, n) for(int i = (a); i < (n); i++)
#define rep(i, n) rep2(i,0,n)

int main(){
  cin.tie(nullptr);ios_base::sync_with_stdio(false);
	//$B:G=i$K(BB$B;U>"$K0U8+$r$b$i$&$H:G=i$+$i(Bt$BJ8;zL\(B(0-index)$B$r(B1$BJ8;z>C$;$H8@$o$l$^$7$?!#(B
	//$B<!$K(BC$B;U>"$K0U8+$r$b$i$&$H:G=i$+$i(Bu$BJ8;zL\(B(0-index)$B$r(B1$BJ8;z>C$;$H8@$o$l$^$7$?!#(B
	//A$B7/$O(BB$B;U>"$H(BC$B;U>"$K8@$o$l$?DL$j$KJ8;z$r>C$9$h$&$K7h$a$^$7$?!#(B
	//B$B;U>"$H(BC$B;U>"$N0U8+$,F1$8$G$"$l$P>C$9J8;z$O(B1$BJ8;z$G$9!#(B
	//B$B;U>"$H(BC$B;U>"$N0U8+$,0[$J$l$P>C$9J8;z$O(B2$BJ8;z$G$9!#(B
	//S$B!"(Bt$B!"(Bu$B$,M?$($i$l$k$N$G(BB$B;U>"$H(BC$B;U>"$K0U8+$r$b$i$C$F$G$-$?L>A0$rEz$($h!#(B
  string s;
  int t,u;
  cin>>s>>t>>u;
  rep(i,s.size()){
    if(i==t)continue;
    if(i==u)continue;
    cout<<s[i];
  }
  cout<<endl;
}
0