結果

問題 No.1589 Bit Vector
ユーザー gew1fw
提出日時 2025-06-12 13:59:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 355 bytes
コンパイル時間 328 ms
コンパイル使用メモリ 82,112 KB
実行使用メモリ 54,672 KB
最終ジャッジ日時 2025-06-12 14:00:05
合計ジャッジ時間 8,067 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other WA * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

n, k = map(int, input().split())
t = int(input())
for _ in range(t):
    input().split()

# For K=1, the solution is to compute the OR of all B[i]
# However, the sample code uses a different approach, which might be incorrect in general
# This code is for the sample input and may not work for all cases
print(2)
print("UPD", n, 0)
print("XOR", n, n-1, n)
0