結果
| 問題 | No.638 Sum of "not power of 2" | 
| コンテスト | |
| ユーザー |  syunsuke | 
| 提出日時 | 2018-08-27 22:31:11 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 258 bytes | 
| コンパイル時間 | 184 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-07-05 18:25:17 | 
| 合計ジャッジ時間 | 1,177 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 10 WA * 2 | 
ソースコード
N=int(input())
list2=[]
for i in range(60):
    list2.append(2**i)
for j in range(3,1000):
    if j==N:
        print(-1)
        exit()
    elif j in list2:
        pass
    elif N-j in list2:
        pass
    else:
        print(j,N-j)
        exit()
    
            
            
            
        