結果

問題 No.701 ひとりしりとり
ユーザー 0w10w1
提出日時 2018-10-20 23:54:42
言語 Ruby
(3.3.0)
結果
AC  
実行時間 1,131 ms / 2,000 ms
コード長 157 bytes
コンパイル時間 36 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 12,288 KB
最終ジャッジ日時 2024-04-29 20:02:30
合計ジャッジ時間 3,173 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
12,032 KB
testcase_01 AC 91 ms
12,160 KB
testcase_02 AC 89 ms
12,160 KB
testcase_03 AC 90 ms
12,160 KB
testcase_04 AC 91 ms
12,160 KB
testcase_05 AC 89 ms
12,288 KB
testcase_06 AC 90 ms
12,160 KB
testcase_07 AC 90 ms
12,160 KB
testcase_08 AC 91 ms
12,288 KB
testcase_09 AC 103 ms
12,288 KB
testcase_10 AC 194 ms
12,160 KB
testcase_11 AC 1,131 ms
12,288 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

rstring = ->(st) { st + (0...17).map { |i| (?a.ord + rand(26)).chr } .join + st }
n = gets.to_i
(n - 1).times { |i| puts rstring[?a] }
puts rstring[?a] + ?n
0