結果

問題 No.2399 This Is Truly Final Edition
ユーザー たつお
提出日時 2023-10-04 10:25:28
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 600 ms
コンパイル使用メモリ 65,956 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-26 14:20:30
合計ジャッジ時間 1,172 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;

int main(void){
//input
	string str1,str2; int num;
	cin >> str1 >> str2 >> num;
//calc
	for(int i=0;i<num;i++){
		str1 = str1 + "_" + str2;
	}
//output
	cout << str1 << endl;
}
0