結果

問題 No.610 区間賞(Section Award)
ユーザー letrangerjpletrangerjp
提出日時 2017-12-11 22:36:34
言語 Ruby
(3.3.0)
結果
AC  
実行時間 271 ms / 2,000 ms
コード長 82 bytes
コンパイル時間 486 ms
コンパイル使用メモリ 11,520 KB
実行使用メモリ 40,788 KB
最終ジャッジ日時 2023-08-20 17:35:53
合計ジャッジ時間 9,031 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,300 KB
testcase_01 AC 80 ms
15,360 KB
testcase_02 AC 80 ms
15,240 KB
testcase_03 AC 80 ms
15,328 KB
testcase_04 AC 83 ms
15,140 KB
testcase_05 AC 82 ms
15,268 KB
testcase_06 AC 81 ms
15,148 KB
testcase_07 AC 80 ms
15,120 KB
testcase_08 AC 82 ms
15,180 KB
testcase_09 AC 80 ms
15,076 KB
testcase_10 AC 83 ms
15,268 KB
testcase_11 AC 80 ms
15,148 KB
testcase_12 AC 79 ms
15,228 KB
testcase_13 AC 84 ms
15,120 KB
testcase_14 AC 84 ms
15,076 KB
testcase_15 AC 85 ms
15,156 KB
testcase_16 AC 84 ms
15,180 KB
testcase_17 AC 86 ms
15,144 KB
testcase_18 AC 82 ms
15,144 KB
testcase_19 AC 96 ms
16,492 KB
testcase_20 AC 166 ms
27,788 KB
testcase_21 AC 91 ms
16,352 KB
testcase_22 AC 133 ms
23,320 KB
testcase_23 AC 86 ms
15,696 KB
testcase_24 AC 101 ms
16,920 KB
testcase_25 AC 89 ms
15,464 KB
testcase_26 AC 117 ms
20,492 KB
testcase_27 AC 173 ms
27,628 KB
testcase_28 AC 152 ms
21,252 KB
testcase_29 AC 134 ms
22,960 KB
testcase_30 AC 148 ms
21,004 KB
testcase_31 AC 118 ms
20,384 KB
testcase_32 AC 154 ms
21,556 KB
testcase_33 AC 90 ms
16,396 KB
testcase_34 AC 168 ms
27,684 KB
testcase_35 AC 125 ms
20,588 KB
testcase_36 AC 160 ms
27,156 KB
testcase_37 AC 149 ms
20,892 KB
testcase_38 AC 96 ms
16,588 KB
testcase_39 AC 167 ms
28,092 KB
testcase_40 AC 172 ms
28,108 KB
testcase_41 AC 167 ms
27,976 KB
testcase_42 AC 168 ms
27,920 KB
testcase_43 AC 166 ms
27,968 KB
testcase_44 AC 236 ms
24,072 KB
testcase_45 AC 271 ms
40,788 KB
testcase_46 AC 270 ms
40,720 KB
testcase_47 AC 145 ms
21,120 KB
testcase_48 AC 142 ms
21,008 KB
testcase_49 AC 146 ms
21,096 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: `*' interpreted as argument prefix
Syntax OK

ソースコード

diff #

_,A,B=$<.map{|s|s.split.map &:to_i}
p *B.select{|x|i=A.index x;i&&A.shift(i)}.sort
0