結果
問題 |
No.2442 線形写像
|
ユーザー |
|
提出日時 | 2023-06-10 10:49:30 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 339 bytes |
コンパイル時間 | 292 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 22,144 KB |
最終ジャッジ日時 | 2025-01-02 16:44:32 |
合計ジャッジ時間 | 22,962 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 TLE * 7 |
ソースコード
from sys import stdin N = int(stdin.readline()) A = [0] * (1 << N) A[0] = int(stdin.readline()) if A[0]: print('No') exit() for S in range(1, 1 << N): A[S] = int(stdin.readline()) T = S while T: if A[S] ^ A[T] ^ A[S ^ T]: print('No') exit() T -= 1 T &= S print('Yes')