結果

問題 No.746 7の倍数
ユーザー letrangerjpletrangerjp
提出日時 2018-10-19 21:41:02
言語 Ruby
(3.3.0)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 62 bytes
コンパイル時間 392 ms
コンパイル使用メモリ 11,248 KB
実行使用メモリ 20,516 KB
最終ジャッジ日時 2023-08-12 00:27:59
合計ジャッジ時間 3,587 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,268 KB
testcase_01 AC 79 ms
15,148 KB
testcase_02 AC 79 ms
15,264 KB
testcase_03 AC 126 ms
20,312 KB
testcase_04 AC 85 ms
15,164 KB
testcase_05 AC 83 ms
15,604 KB
testcase_06 AC 100 ms
17,232 KB
testcase_07 AC 98 ms
16,892 KB
testcase_08 AC 100 ms
17,420 KB
testcase_09 AC 94 ms
16,668 KB
testcase_10 AC 85 ms
15,488 KB
testcase_11 AC 116 ms
18,820 KB
testcase_12 AC 129 ms
20,516 KB
testcase_13 AC 107 ms
18,244 KB
testcase_14 AC 113 ms
18,500 KB
testcase_15 AC 110 ms
18,320 KB
testcase_16 AC 115 ms
18,352 KB
testcase_17 AC 114 ms
18,448 KB
testcase_18 AC 117 ms
18,404 KB
testcase_19 AC 114 ms
18,380 KB
testcase_20 AC 96 ms
16,544 KB
testcase_21 AC 91 ms
15,912 KB
testcase_22 AC 119 ms
19,416 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N=gets.to_i
$><<(N>0?"0.":?0)+N.times.map{|i|"142857"[i%6]}*""
0