結果

問題 No.2442 線形写像
ユーザー miho-4miho-4
提出日時 2023-08-25 22:42:14
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 171 bytes
コンパイル時間 318 ms
コンパイル使用メモリ 86,792 KB
実行使用メモリ 86,792 KB
最終ジャッジ日時 2023-08-25 22:42:18
合計ジャッジ時間 3,631 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,204 KB
testcase_01 AC 71 ms
71,160 KB
testcase_02 AC 71 ms
71,024 KB
testcase_03 AC 72 ms
71,172 KB
testcase_04 WA -
testcase_05 AC 73 ms
71,036 KB
testcase_06 WA -
testcase_07 AC 73 ms
71,208 KB
testcase_08 AC 75 ms
71,272 KB
testcase_09 WA -
testcase_10 AC 85 ms
75,352 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 85 ms
75,360 KB
testcase_14 AC 116 ms
77,524 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 155 ms
78,032 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
L=[int(input()) for _ in range(1<<n)]

for i in range(1<<n):
	for bit in range(64):
		if i>>bit&1==0:
			if L[i]>>bit&1:
				exit(print("No"))

print("Yes")
0