結果

問題 No.253 ロウソクの長さ
ユーザー %20%20
提出日時 2017-05-27 12:00:23
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 146 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 5,324 KB
実行使用メモリ 24,432 KB
平均クエリ数 36.92
最終ジャッジ日時 2023-09-23 14:09:45
合計ジャッジ時間 3,422 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
23,764 KB
testcase_01 AC 26 ms
23,784 KB
testcase_02 AC 29 ms
23,592 KB
testcase_03 AC 27 ms
23,712 KB
testcase_04 AC 26 ms
23,412 KB
testcase_05 AC 27 ms
24,432 KB
testcase_06 AC 27 ms
23,352 KB
testcase_07 AC 27 ms
23,316 KB
testcase_08 AC 26 ms
23,664 KB
testcase_09 AC 26 ms
23,316 KB
testcase_10 AC 27 ms
24,360 KB
testcase_11 AC 27 ms
24,324 KB
testcase_12 AC 27 ms
24,336 KB
testcase_13 AC 27 ms
23,424 KB
testcase_14 AC 26 ms
24,060 KB
testcase_15 AC 29 ms
24,408 KB
testcase_16 AC 26 ms
24,000 KB
testcase_17 WA -
testcase_18 AC 28 ms
23,568 KB
testcase_19 AC 27 ms
24,060 KB
testcase_20 AC 27 ms
24,096 KB
testcase_21 AC 28 ms
24,324 KB
testcase_22 AC 26 ms
23,676 KB
testcase_23 AC 27 ms
23,760 KB
testcase_24 AC 28 ms
23,460 KB
testcase_25 AC 26 ms
24,420 KB
testcase_26 AC 27 ms
23,964 KB
testcase_27 AC 27 ms
24,324 KB
testcase_28 AC 26 ms
24,000 KB
testcase_29 AC 26 ms
24,084 KB
testcase_30 AC 26 ms
24,312 KB
testcase_31 AC 26 ms
24,288 KB
testcase_32 AC 27 ms
23,964 KB
testcase_33 AC 27 ms
23,460 KB
testcase_34 AC 25 ms
23,772 KB
testcase_35 AC 26 ms
23,304 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

sub a{$c+=print"? @_\n";<>}
$|=1;
$l=99,$r=1e9-1if$f=a(100)>0;
$f&&($%<0?(--$l,$r=$m-2):($l=$m,--$r))while$%=a($m=$l+$r>>1);
print'! ',$m+$c-1,$/
0