結果

問題 No.2460 #強調#
ユーザー Lynkcat
提出日時 2023-09-08 21:20:51
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 552 bytes
コンパイル時間 1,434 ms
コンパイル使用メモリ 167,820 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-26 14:06:59
合計ジャッジ時間 2,008 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define poly vector<int>
#define IOS ios::sync_with_stdio(false)
#define ll long long
#define mp make_pair
#define mt make_tuple
#define pa pair < int,int >
#define fi first
#define se second
#define inf 1e18
#define mod 998244353
#define sz(x) (int)((x).size())
#define int ll
//#define N
using namespace std;
void BellaKira()
{
	string s;
	cin>>s;
	bool bl=0;
	for (auto u:s)
		if(u=='#') bl^=1;
		else
		{
			if (bl) cout<<u;
		}
	cout<<'\n';
}
signed main()
{
	IOS;
	cin.tie(0);
	int T=1;
	while (T--)
	{
		BellaKira();
	}
}
0