結果

問題 No.2399 This Is Truly Final Edition
ユーザー elphe
提出日時 2025-03-31 11:42:02
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 300 bytes
コンパイル時間 867 ms
コンパイル使用メモリ 79,172 KB
実行使用メモリ 7,324 KB
最終ジャッジ日時 2025-03-31 11:42:04
合計ジャッジ時間 1,844 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdint>

using namespace std;

int main()
{
	cin.tie(nullptr);
	ios::sync_with_stdio(false);

	uint32_t N;
	string S, T;
	S.reserve(10), T.reserve(10);
	cin >> S >> T >> N;

	cout << S;
	for (uint32_t i = 0; i != N; ++i)
		cout << '_' << T;
	cout << '\n';

	return 0;
}
0