結果
問題 | No.184 たのしい排他的論理和(HARD) |
ユーザー |
|
提出日時 | 2020-05-25 20:06:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 2,539 ms / 5,000 ms |
コード長 | 211 bytes |
コンパイル時間 | 814 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 265,892 KB |
最終ジャッジ日時 | 2024-07-04 12:48:44 |
合計ジャッジ時間 | 54,700 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 34 |
ソースコード
import numpy as np def tobit(x): x = int(x) return [((x >> i) & 1) for i in range(70)] N = int(input()) A = np.array(list(map(tobit, input().split()))) x = np.linalg.matrix_rank(A) print(pow(2, x))