結果

問題 No.130 XOR Minimax
ユーザー tailstails
提出日時 2017-01-08 22:03:02
言語 Perl
(5.38.2)
結果
AC  
実行時間 2,551 ms / 5,000 ms
コード長 124 bytes
コンパイル時間 546 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 294,832 KB
最終ジャッジ日時 2023-10-10 00:17:39
合計ジャッジ時間 27,769 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,120 ms
23,420 KB
testcase_01 AC 3 ms
4,660 KB
testcase_02 AC 3 ms
4,480 KB
testcase_03 AC 2 ms
4,504 KB
testcase_04 AC 1,408 ms
294,832 KB
testcase_05 AC 1,385 ms
294,820 KB
testcase_06 AC 1,384 ms
165,580 KB
testcase_07 AC 1,343 ms
157,392 KB
testcase_08 AC 2,551 ms
49,328 KB
testcase_09 AC 231 ms
28,108 KB
testcase_10 AC 341 ms
41,332 KB
testcase_11 AC 1,127 ms
139,180 KB
testcase_12 AC 115 ms
15,256 KB
testcase_13 AC 892 ms
111,892 KB
testcase_14 AC 2,131 ms
42,148 KB
testcase_15 AC 25 ms
4,828 KB
testcase_16 AC 1,570 ms
30,716 KB
testcase_17 AC 1,607 ms
31,672 KB
testcase_18 AC 1,708 ms
33,996 KB
testcase_19 AC 2,011 ms
39,884 KB
testcase_20 AC 993 ms
21,348 KB
testcase_21 AC 2,185 ms
41,836 KB
testcase_22 AC 483 ms
12,096 KB
testcase_23 AC 148 ms
6,908 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

sub f{$/&&do{local($/,@0,@1)=$/-1&31;push@{$_>>$/&1},$_ for@_;@0*@1?1<<$/|(sort{$a-$b}f(@0),f(@1))[0]:&f}}<>;$/=$";print f<>
0