結果

問題 No.130 XOR Minimax
ユーザー tailstails
提出日時 2017-01-08 22:27:31
言語 Perl
(5.38.0)
結果
AC  
実行時間 3,034 ms / 5,000 ms
コード長 123 bytes
コンパイル時間 56 ms
コンパイル使用メモリ 5,340 KB
実行使用メモリ 416,640 KB
最終ジャッジ日時 2023-10-10 00:18:39
合計ジャッジ時間 34,628 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,301 ms
74,468 KB
testcase_01 AC 3 ms
4,576 KB
testcase_02 AC 2 ms
4,680 KB
testcase_03 AC 2 ms
4,652 KB
testcase_04 AC 2,234 ms
415,956 KB
testcase_05 AC 2,041 ms
416,640 KB
testcase_06 AC 1,996 ms
287,336 KB
testcase_07 AC 1,956 ms
279,184 KB
testcase_08 AC 3,034 ms
171,244 KB
testcase_09 AC 314 ms
45,868 KB
testcase_10 AC 475 ms
69,172 KB
testcase_11 AC 1,644 ms
241,404 KB
testcase_12 AC 156 ms
23,404 KB
testcase_13 AC 1,329 ms
193,004 KB
testcase_14 AC 2,565 ms
144,048 KB
testcase_15 AC 28 ms
5,668 KB
testcase_16 AC 1,813 ms
101,520 KB
testcase_17 AC 1,835 ms
105,312 KB
testcase_18 AC 1,985 ms
113,988 KB
testcase_19 AC 2,390 ms
135,712 KB
testcase_20 AC 1,190 ms
67,124 KB
testcase_21 AC 2,552 ms
142,808 KB
testcase_22 AC 562 ms
32,648 KB
testcase_23 AC 164 ms
12,696 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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