結果
問題 |
No.292 芸名
|
ユーザー |
![]() |
提出日時 | 2015-10-23 22:26:32 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 897 bytes |
コンパイル時間 | 680 ms |
コンパイル使用メモリ | 88,280 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-22 22:57:02 |
合計ジャッジ時間 | 1,254 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <vector> #include <map> #include <climits> #include <set> #include <queue> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <iomanip> #include <cstdio> #include <cmath> #include <cstdlib> #include <cctype> #include <string> #include <bitset> #include <cstring> #include <list> #include <iterator> #define REP(i, x, n) for(int i = x; i < (int)(n); i++) #define rep(i, n) REP(i, 0, n) #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() #define EPS 1e-9 #define INF (1L << 30) #define LINF (1LL << 60) using namespace std; typedef long long ll; typedef unsigned long long ull; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); string s; int t, u; cin >> s >> t >> u; rep(i, s.size()) { if (i != t && i != u) cout << s[i]; } cout << endl; return 0; }