結果
| 問題 |
No.292 芸名
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-12-10 23:15:49 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 352 bytes |
| コンパイル時間 | 678 ms |
| コンパイル使用メモリ | 59,224 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-15 07:44:18 |
| 合計ジャッジ時間 | 1,170 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
int main(){
cin.tie(0);
ios::sync_with_stdio(false);
char input;
vector<char> s;
int t, u, size;
while((input=cin.get())!=' ') s.push_back(input);
size=s.size();
cin >> t >> u;
for(int i=0; i<size; ++i){
if(i!=t && i!=u) cout << s[i];
}
cout << "\n";
return 0;
}