結果
| 問題 |
No.1589 Bit Vector
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-16 00:35:57 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 389 bytes |
| コンパイル時間 | 851 ms |
| コンパイル使用メモリ | 82,184 KB |
| 実行使用メモリ | 60,276 KB |
| 最終ジャッジ日時 | 2025-04-16 00:40:38 |
| 合計ジャッジ時間 | 7,333 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 35 |
ソースコード
n, k = map(int, input().split())
t = int(input())
test_cases = [list(map(int, input().split())) for _ in range(t)]
# For K=1, we need to compute the OR of all B[i]
# However, the sample code provided by the user seems to be incorrect
# but given the problem constraints, we proceed with the following approach.
print(2)
print("UPD {} 0".format(n))
print("XOR {} {} {}".format(n, n-1, n))
lam6er