結果

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

テストケース

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

ソースコード

diff #

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