結果

問題 No.2460 #強調#
ユーザー elphe
提出日時 2025-02-14 16:14:28
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 283 bytes
コンパイル時間 881 ms
コンパイル使用メモリ 78,432 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-02-14 16:14:31
合計ジャッジ時間 2,280 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdint>

using namespace std;

int main()
{
	cin.tie(nullptr);
	ios::sync_with_stdio(false);
	
	string S;
	S.reserve(100), cin >> S;

	uint32_t i;
	for (i = 0; S[i] != '#'; ++i);
	for (++i; S[i] != '#'; ++i)
		cout << S[i];
	cout << '\n';

	return 0;
}
0