結果

問題 No.471 直列回転機
ユーザー tailstails
提出日時 2016-12-21 00:09:56
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,397 ms / 3,141 ms
コード長 263 bytes
コンパイル時間 849 ms
コンパイル使用メモリ 5,360 KB
実行使用メモリ 27,956 KB
平均クエリ数 19589.39
最終ジャッジ日時 2023-09-02 03:35:27
合計ジャッジ時間 35,762 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
23,640 KB
testcase_01 AC 30 ms
24,300 KB
testcase_02 AC 29 ms
24,048 KB
testcase_03 AC 30 ms
23,412 KB
testcase_04 AC 31 ms
23,856 KB
testcase_05 AC 42 ms
24,312 KB
testcase_06 AC 35 ms
23,412 KB
testcase_07 AC 39 ms
23,376 KB
testcase_08 AC 179 ms
23,652 KB
testcase_09 AC 187 ms
23,520 KB
testcase_10 AC 110 ms
23,664 KB
testcase_11 AC 497 ms
24,300 KB
testcase_12 AC 1,098 ms
27,152 KB
testcase_13 AC 1,073 ms
27,256 KB
testcase_14 AC 1,122 ms
27,604 KB
testcase_15 AC 1,397 ms
27,696 KB
testcase_16 AC 39 ms
23,380 KB
testcase_17 AC 31 ms
24,384 KB
testcase_18 AC 30 ms
24,024 KB
testcase_19 AC 31 ms
24,024 KB
testcase_20 AC 1,155 ms
27,940 KB
testcase_21 AC 227 ms
23,680 KB
testcase_22 AC 1,147 ms
27,068 KB
testcase_23 AC 1,006 ms
26,636 KB
testcase_24 AC 567 ms
24,052 KB
testcase_25 AC 163 ms
23,416 KB
testcase_26 AC 1,279 ms
27,896 KB
testcase_27 AC 550 ms
24,156 KB
testcase_28 AC 722 ms
25,132 KB
testcase_29 AC 741 ms
24,772 KB
testcase_30 AC 270 ms
24,016 KB
testcase_31 AC 1,222 ms
27,956 KB
testcase_32 AC 1,037 ms
26,412 KB
testcase_33 AC 803 ms
25,072 KB
testcase_34 AC 1,144 ms
27,476 KB
testcase_35 AC 235 ms
24,016 KB
testcase_36 AC 474 ms
23,624 KB
testcase_37 AC 145 ms
23,620 KB
testcase_38 AC 195 ms
24,304 KB
testcase_39 AC 377 ms
24,040 KB
testcase_40 AC 840 ms
26,064 KB
testcase_41 AC 1,266 ms
27,512 KB
testcase_42 AC 759 ms
25,360 KB
testcase_43 AC 1,204 ms
27,036 KB
testcase_44 AC 93 ms
23,236 KB
testcase_45 AC 786 ms
25,308 KB
testcase_46 AC 835 ms
26,172 KB
testcase_47 AC 1,118 ms
27,460 KB
testcase_48 AC 951 ms
26,476 KB
testcase_49 AC 1,014 ms
26,632 KB
testcase_50 AC 1,130 ms
27,192 KB
testcase_51 AC 431 ms
23,368 KB
testcase_52 AC 42 ms
24,004 KB
testcase_53 AC 46 ms
23,356 KB
testcase_54 AC 50 ms
23,572 KB
testcase_55 AC 265 ms
23,404 KB
testcase_56 AC 204 ms
24,028 KB
testcase_57 AC 114 ms
23,824 KB
testcase_58 AC 111 ms
23,512 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$|=1;$\=$/;
$m=<>;
$l[$_]=<> for 0..$m-1;
print"? 0 0";
($x00,$y00)=glob<>;
print"? 1 0";
($x10,$y10)=glob<>;
print"? 0 1";
($x01,$y01)=glob<>;
print"!";
for(@l){
	($x,$y)=/\S+/g;
	print $x00+$x*($x10-$x00)+$y*($x01-$x00),$",$y00+$x*($y10-$y00)+$y*($y01-$y00);
}
0