結果
問題 | No.292 芸名 |
ユーザー |
![]() |
提出日時 | 2019-09-28 20:39:50 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 1,257 ms |
コンパイル使用メモリ | 161,020 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-03 04:14:03 |
合計ジャッジ時間 | 1,844 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main() { string s; int a,b; cin >> s>>a >>b; s.at(a)='A'; s.at(b)='A'; string ans; for(int i=0;i<s.size();i++){ if(s.at(i)!='A'){ ans+=s.at(i); } } cout <<ans <<endl; }