結果
| 問題 | No.1298 OR XOR | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-02-15 10:59:43 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 169 bytes | 
| コンパイル時間 | 247 ms | 
| コンパイル使用メモリ | 82,296 KB | 
| 実行使用メモリ | 53,968 KB | 
| 最終ジャッジ日時 | 2024-07-22 22:45:45 | 
| 合計ジャッジ時間 | 2,502 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 1 | 
| other | AC * 5 WA * 8 | 
ソースコード
n=int(input()) ary=[] for i in range(31): if (n>>i)&1:ary.append(i) if len(ary)==1: print(-1,-1,-1) else: a=n^(1<<ary[0]) b=n^(a<<ary[1]) c=a^b print(a,b,c)
