結果

問題 No.594 壊れた宝物発見機
ユーザー %20%20
提出日時 2017-11-11 19:42:21
言語 Perl
(5.38.0)
結果
AC  
実行時間 105 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 74 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 24,372 KB
平均クエリ数 10.00
最終ジャッジ日時 2023-09-23 15:03:56
合計ジャッジ時間 3,403 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 105 ms
24,324 KB
testcase_01 AC 100 ms
23,400 KB
testcase_02 AC 98 ms
23,676 KB
testcase_03 AC 99 ms
24,072 KB
testcase_04 AC 100 ms
24,060 KB
testcase_05 AC 97 ms
24,372 KB
testcase_06 AC 98 ms
23,664 KB
testcase_07 AC 100 ms
24,264 KB
testcase_08 AC 100 ms
23,424 KB
testcase_09 AC 100 ms
24,012 KB
testcase_10 AC 99 ms
23,868 KB
testcase_11 AC 99 ms
24,372 KB
testcase_12 AC 101 ms
23,424 KB
testcase_13 AC 101 ms
24,336 KB
testcase_14 AC 101 ms
24,276 KB
testcase_15 AC 100 ms
23,424 KB
testcase_16 AC 103 ms
23,424 KB
testcase_17 AC 101 ms
24,276 KB
testcase_18 AC 99 ms
23,532 KB
testcase_19 AC 99 ms
23,640 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

sub p{$|=print"? @_\n";<>}

for(0..2){
	$b=p@q=(0)x3;
	$q[$_]=-1;$a=p@q;
	$q[$_]=1;$c=p@q;
	push@w,($c-$a)/(2*$b-$c-$a)/2;
}

print"! @w\n"
0