結果
| 問題 |
No.3229 Liar Game Comibination
|
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2025-08-08 22:20:44 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 538 ms / 2,000 ms |
| コード長 | 202 bytes |
| コンパイル時間 | 289 ms |
| コンパイル使用メモリ | 82,372 KB |
| 実行使用メモリ | 77,192 KB |
| 最終ジャッジ日時 | 2025-08-08 22:20:51 |
| 合計ジャッジ時間 | 6,540 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 |
ソースコード
n, m, k = map(int, input().split())
basis = []
for _ in range(m):
x = int(input(), 2)
for b in basis:
x = min(x, b ^ x)
if x:
basis.append(x)
print(pow(2, n - len(basis), k))
Kude