結果
問題 |
No.2442 線形写像
|
ユーザー |
|
提出日時 | 2023-08-25 22:54:40 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 228 bytes |
コンパイル時間 | 378 ms |
コンパイル使用メモリ | 81,664 KB |
実行使用メモリ | 86,016 KB |
最終ジャッジ日時 | 2024-12-24 10:27:17 |
合計ジャッジ時間 | 3,384 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 12 |
ソースコード
n=int(input()) L=[int(input()) for _ in range(1<<n)] for bit in range(64): cnt=0 cnt2=0 for i in range(1<<n): if i>>bit&1: if L[i]>>bit&1: cnt+=1 cnt2+=1 if cnt not in [0,cnt2]: exit(print("No")) print("Yes")