結果
| 問題 | No.1450 nahco314's First Problem | 
| コンテスト | |
| ユーザー |  convexineq | 
| 提出日時 | 2021-04-01 10:26:21 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 120 bytes | 
| コンパイル時間 | 369 ms | 
| コンパイル使用メモリ | 82,304 KB | 
| 実行使用メモリ | 52,096 KB | 
| 最終ジャッジ日時 | 2024-11-08 14:24:47 | 
| 合計ジャッジ時間 | 3,483 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 36 WA * 1 | 
ソースコード
x = int(input())
for m in range(100):
    n = x^m
    if bin(n).count("1")==m:
        print(n)
        exit()
print(-1)
            
            
            
        