結果

問題 No.2399 This Is Truly Final Edition
ユーザー Maffy-0
提出日時 2024-03-21 16:49:24
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 334 bytes
コンパイル時間 1,770 ms
コンパイル使用メモリ 194,024 KB
最終ジャッジ日時 2025-02-20 10:39:12
ジャッジサーバーID
(参考情報)
judge5 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

void fast_io() {
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);
}

signed main(void) {
    fast_io();
    string S, T;
    int N;
    cin >> S >> T >> N;
    for (int i = 0; i < N; i++) {
        S.push_back('_');
        S += T;
    }
    cout << S << endl;
    return 0;
}
0