結果
問題 |
No.1589 Bit Vector
|
ユーザー |
![]() |
提出日時 | 2025-04-16 00:40:47 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 389 bytes |
コンパイル時間 | 175 ms |
コンパイル使用メモリ | 81,700 KB |
実行使用メモリ | 60,428 KB |
最終ジャッジ日時 | 2025-04-16 00:43:42 |
合計ジャッジ時間 | 7,344 ms |
ジャッジサーバーID (参考情報) |
judge4 / 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))