結果
| 問題 | No.3229 Liar Game Comibination |
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2025-08-08 22:20:44 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 350 ms / 2,000 ms |
| + 920µs | |
| コード長 | 202 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 95,600 KB |
| 実行使用メモリ | 85,632 KB |
| 最終ジャッジ日時 | 2026-07-13 21:40:58 |
| 合計ジャッジ時間 | 5,986 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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