結果

問題 No.246 質問と回答
ユーザー mmmpppmmmppp
提出日時 2017-03-02 05:56:38
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 82 bytes
コンパイル時間 64 ms
コンパイル使用メモリ 11,444 KB
実行使用メモリ 31,824 KB
平均クエリ数 31.00
最終ジャッジ日時 2023-09-23 12:47:22
合計ジャッジ時間 5,726 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
31,464 KB
testcase_01 AC 127 ms
31,196 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 123 ms
31,564 KB
testcase_06 AC 122 ms
31,464 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 124 ms
31,124 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 122 ms
31,092 KB
testcase_14 AC 123 ms
31,444 KB
testcase_15 AC 123 ms
31,460 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 125 ms
31,136 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 122 ms
31,416 KB
testcase_25 WA -
testcase_26 AC 125 ms
31,180 KB
testcase_27 WA -
testcase_28 AC 126 ms
31,084 KB
testcase_29 AC 124 ms
30,984 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: regex literal in condition
Syntax OK

ソースコード

diff #

x=1+z=1<<30
(puts"? #{x}";$>.flush;gets;x-=/0/?z<1?1:z:-z)while 0<z/=2
$><<'! '<<x
0