結果
| 問題 | No.2442 線形写像 |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2023-08-25 22:01:22 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 306 bytes |
| 記録 | |
| コンパイル時間 | 206 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 91,904 KB |
| 最終ジャッジ日時 | 2026-05-30 05:26:38 |
| 合計ジャッジ時間 | 17,240 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 TLE * 2 |
ソースコード
import sys
input = sys.stdin.readline
from random import randint
N=int(input())
A=[int(input()) for i in range(2**N)]
if A[0]!=0:
print("No")
exit()
for i in range(5*10**6):
x,y=randint(0,2**N-1),randint(0,2**N-1)
if A[x^y]!=A[x]^A[y]:
print("No")
exit()
print("Yes")
titia