結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
30,708 KB
testcase_01 RE -
testcase_02 AC 100 ms
31,016 KB
testcase_03 RE -
testcase_04 AC 96 ms
31,304 KB
testcase_05 AC 101 ms
31,512 KB
testcase_06 RE -
testcase_07 AC 100 ms
31,020 KB
testcase_08 AC 104 ms
31,476 KB
testcase_09 AC 100 ms
31,488 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