結果
問題 | No.305 鍵(2) |
ユーザー | letrangerjp |
提出日時 | 2017-10-17 20:16:35 |
言語 | Ruby (3.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 89 bytes |
コンパイル時間 | 42 ms |
コンパイル使用メモリ | 11,280 KB |
実行使用メモリ | 31,772 KB |
平均クエリ数 | 93.23 |
最終ジャッジ日時 | 2023-09-23 14:35:01 |
合計ジャッジ時間 | 4,311 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | AC | 113 ms
31,508 KB |
testcase_06 | AC | 108 ms
31,348 KB |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
testcase_10 | RE | - |
testcase_11 | RE | - |
testcase_12 | RE | - |
コンパイルメッセージ
Syntax OK
ソースコード
s=$>.sync="" loop{s=(?0..?9).max_by{|c|puts (c+s).ljust(10,?0) (9<n=gets.hex)&&exit n}+s}