結果
問題 | No.292 芸名 |
ユーザー |
|
提出日時 | 2019-12-15 02:12:09 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 327 bytes |
コンパイル時間 | 760 ms |
コンパイル使用メモリ | 72,592 KB |
最終ジャッジ日時 | 2025-01-08 11:37:15 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <iostream>#include <vector>#include <algorithm>using namespace std;typedef long long int ll;int main(){cin.tie(nullptr);ios::sync_with_stdio(false);string s; cin >> s;int p,q; cin >> p >> q;for(int i=0;i<s.size();i++){if(i==p||i==q){continue;}else{cout << s[i];}}cout << endl;}