結果

問題 No.1841 Long Long
ユーザー osyo-mangaosyo-manga
提出日時 2023-05-19 16:29:00
言語 Ruby
(3.3.0)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 145 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 11,172 KB
実行使用メモリ 15,332 KB
最終ジャッジ日時 2023-08-22 21:16:41
合計ジャッジ時間 3,432 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,056 KB
testcase_01 AC 78 ms
15,328 KB
testcase_02 AC 78 ms
15,232 KB
testcase_03 AC 79 ms
15,108 KB
testcase_04 AC 79 ms
15,288 KB
testcase_05 AC 78 ms
15,100 KB
testcase_06 AC 79 ms
15,136 KB
testcase_07 AC 78 ms
15,096 KB
testcase_08 AC 78 ms
15,052 KB
testcase_09 AC 79 ms
15,020 KB
testcase_10 AC 78 ms
15,156 KB
testcase_11 AC 79 ms
15,088 KB
testcase_12 AC 80 ms
15,260 KB
testcase_13 AC 80 ms
15,332 KB
testcase_14 AC 80 ms
15,284 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

# 入力された値を文字列で受け取る
str = gets.chomp

# String#* で入力値分だけ "Long" を結合する
puts "Long" * str.to_i
0