結果
問題 | No.292 芸名 |
ユーザー |
|
提出日時 | 2015-10-25 23:24:40 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 497 bytes |
コンパイル時間 | 577 ms |
コンパイル使用メモリ | 59,496 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-13 09:07:44 |
合計ジャッジ時間 | 1,140 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <iostream>#include <algorithm>#include <string>#include <cstring>#include <stack>using namespace std;#define REP(i,a,b) for(i=a;i<b;i++)#define rep(i,n) REP(i,0,n)#define SQR(X) ((X)*(X))typedef long long ll;typedef unsigned long long ull;typedef long double lb;/* ここからが本編 */int main(void){int i,j;char s[55];int t,u;cin >> s >> t >> u;for(i=0;s[i];i++) {if(i != t && i != u) cout << s[i];}cout << endl;return 0;}