結果
問題 |
No.1589 Bit Vector
|
ユーザー |
![]() |
提出日時 | 2025-06-12 19:03:43 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 355 bytes |
コンパイル時間 | 156 ms |
コンパイル使用メモリ | 82,252 KB |
実行使用メモリ | 54,812 KB |
最終ジャッジ日時 | 2025-06-12 19:03:56 |
合計ジャッジ時間 | 7,818 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 35 |
ソースコード
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)