結果
| 問題 |
No.2442 線形写像
|
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2023-08-25 22:01:22 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 306 bytes |
| コンパイル時間 | 168 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 87,424 KB |
| 最終ジャッジ日時 | 2024-12-24 08:47:04 |
| 合計ジャッジ時間 | 15,243 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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