結果

問題 No.305 鍵(2)
ユーザー letrangerjpletrangerjp
提出日時 2017-10-17 19:47:11
言語 Ruby
(3.3.0)
結果
AC  
実行時間 105 ms / 2,000 ms
コード長 102 bytes
コンパイル時間 235 ms
コンパイル使用メモリ 11,324 KB
実行使用メモリ 31,576 KB
平均クエリ数 80.85
最終ジャッジ日時 2023-09-24 01:34:20
合計ジャッジ時間 2,611 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 105 ms
31,032 KB
testcase_01 AC 102 ms
30,824 KB
testcase_02 AC 98 ms
30,976 KB
testcase_03 AC 104 ms
31,204 KB
testcase_04 AC 99 ms
31,424 KB
testcase_05 AC 103 ms
31,400 KB
testcase_06 AC 96 ms
31,056 KB
testcase_07 AC 97 ms
30,812 KB
testcase_08 AC 99 ms
31,232 KB
testcase_09 AC 100 ms
30,760 KB
testcase_10 AC 101 ms
30,780 KB
testcase_11 AC 98 ms
31,576 KB
testcase_12 AC 99 ms
30,964 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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