結果

問題 No.305 鍵(2)
ユーザー letrangerjpletrangerjp
提出日時 2017-10-17 19:38:23
言語 Ruby
(3.3.0)
結果
RE  
実行時間 -
コード長 95 bytes
コンパイル時間 75 ms
コンパイル使用メモリ 11,244 KB
実行使用メモリ 31,996 KB
平均クエリ数 9564.77
最終ジャッジ日時 2023-09-23 14:34:19
合計ジャッジ時間 9,013 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
30,728 KB
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 AC 114 ms
31,304 KB
testcase_06 RE -
testcase_07 AC 295 ms
31,428 KB
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a=STDOUT.sync=0
loop{a=(0..9).map{|i|puts"%010d"%(a+=10**i)
(9<n=gets.hex)&&exit
[n,a]}.max[1]}
0