結果

問題 No.934 Explosive energy drink
ユーザー kotatsugamekotatsugame
提出日時 2019-11-29 22:08:56
言語 Ruby
(3.3.0)
結果
AC  
実行時間 746 ms / 2,000 ms
コード長 98 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 11,572 KB
実行使用メモリ 31,844 KB
平均クエリ数 354.79
最終ジャッジ日時 2023-09-23 18:32:50
合計ジャッジ時間 9,261 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
31,192 KB
testcase_01 AC 746 ms
31,336 KB
testcase_02 AC 106 ms
30,928 KB
testcase_03 AC 395 ms
31,596 KB
testcase_04 AC 726 ms
31,200 KB
testcase_05 AC 98 ms
31,388 KB
testcase_06 AC 101 ms
31,144 KB
testcase_07 AC 101 ms
31,044 KB
testcase_08 AC 97 ms
31,232 KB
testcase_09 AC 101 ms
30,996 KB
testcase_10 AC 103 ms
30,880 KB
testcase_11 AC 100 ms
30,948 KB
testcase_12 AC 110 ms
31,600 KB
testcase_13 AC 111 ms
31,176 KB
testcase_14 AC 112 ms
31,692 KB
testcase_15 AC 261 ms
31,560 KB
testcase_16 AC 134 ms
31,168 KB
testcase_17 AC 173 ms
31,508 KB
testcase_18 AC 183 ms
31,752 KB
testcase_19 AC 305 ms
31,844 KB
testcase_20 AC 493 ms
31,672 KB
testcase_21 AC 516 ms
31,444 KB
testcase_22 AC 717 ms
31,332 KB
testcase_23 AC 713 ms
31,284 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

A=*1..$>.sync=N=gets.to_i
X=A.select{|i|puts [??,N-1,*A-[i]]*?\s;gets[?0]}
puts [?!,X.size,*X]*?\s
0