結果

問題 No.792 真理関数をつくろう
ユーザー %20%20
提出日時 2019-03-24 01:53:16
言語 Perl
(5.38.2)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 151 bytes
コンパイル時間 471 ms
コンパイル使用メモリ 6,208 KB
実行使用メモリ 7,484 KB
最終ジャッジ日時 2023-10-25 10:40:17
合計ジャッジ時間 1,937 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
6,188 KB
testcase_01 AC 17 ms
6,312 KB
testcase_02 AC 7 ms
6,192 KB
testcase_03 AC 27 ms
6,444 KB
testcase_04 AC 7 ms
6,192 KB
testcase_05 AC 28 ms
6,444 KB
testcase_06 AC 103 ms
6,996 KB
testcase_07 AC 11 ms
6,240 KB
testcase_08 AC 7 ms
6,188 KB
testcase_09 AC 7 ms
6,192 KB
testcase_10 AC 8 ms
6,188 KB
testcase_11 AC 7 ms
6,188 KB
testcase_12 AC 8 ms
6,188 KB
testcase_13 AC 8 ms
6,188 KB
testcase_14 AC 8 ms
6,188 KB
testcase_15 AC 9 ms
6,212 KB
testcase_16 AC 50 ms
6,692 KB
testcase_17 AC 8 ms
6,188 KB
testcase_18 AC 7 ms
6,192 KB
testcase_19 AC 8 ms
6,192 KB
testcase_20 AC 83 ms
6,772 KB
testcase_21 AC 115 ms
7,484 KB
testcase_22 AC 7 ms
6,188 KB
testcase_23 AC 8 ms
6,188 KB
testcase_24 AC 7 ms
6,188 KB
testcase_25 AC 8 ms
6,192 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$N=<>;
$"='∧';
@_=grep$_,map{
	@Q=glob<>;
	pop@Q&&"(@{[map'¬'x!$Q[$_-1].P_.$_,1..$N]})"
}1..2**$N;
$"='∨';
print'A=',@_?@_<2**$N?"@_":'⊤':'⊥'
0