結果
| 問題 | No.3088 XOR = SUM | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-04-04 22:41:26 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 151 bytes | 
| コンパイル時間 | 306 ms | 
| コンパイル使用メモリ | 82,460 KB | 
| 実行使用メモリ | 77,480 KB | 
| 最終ジャッジ日時 | 2025-04-04 22:42:31 | 
| 合計ジャッジ時間 | 30,425 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | WA * 21 RE * 1 | 
ソースコード
t=int(input()) for _ in range(t): n=int(input()) if n==0: print(0,0) else: bit=bin(n)[2:] x=2**(len(bit)-1) y=int(bin(n)[3:],2) print(x,y)
