結果
問題 | No.2442 線形写像 |
ユーザー | t98slider |
提出日時 | 2023-06-10 10:50:51 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 81 ms |
コンパイル使用メモリ | 10,564 KB |
実行使用メモリ | 13,784 KB |
最終ジャッジ日時 | 2023-08-30 20:26:35 |
合計ジャッジ時間 | 4,461 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 14 ms
12,404 KB |
testcase_01 | AC | 15 ms
7,800 KB |
testcase_02 | AC | 15 ms
8,144 KB |
testcase_03 | AC | 14 ms
8,112 KB |
testcase_04 | AC | 15 ms
7,776 KB |
testcase_05 | AC | 15 ms
7,888 KB |
testcase_06 | AC | 15 ms
8,072 KB |
testcase_07 | AC | 15 ms
7,888 KB |
testcase_08 | AC | 15 ms
8,100 KB |
testcase_09 | AC | 16 ms
8,120 KB |
testcase_10 | AC | 19 ms
7,796 KB |
testcase_11 | AC | 40 ms
8,232 KB |
testcase_12 | AC | 46 ms
7,796 KB |
testcase_13 | AC | 43 ms
7,788 KB |
testcase_14 | AC | 39 ms
8,284 KB |
testcase_15 | TLE | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
testcase_19 | -- | - |
testcase_20 | -- | - |
testcase_21 | -- | - |
ソースコード
N = int(input()) A = [0] * (1 << N) A[0] = int(input()) if A[0]: print('No') exit() for S in range(1, 1 << N): A[S] = int(input()) T = S while T: if A[S] ^ A[T] ^ A[S ^ T]: print('No') exit() T -= 1 T &= S print('Yes')