結果
| 問題 | No.638 Sum of "not power of 2" | 
| コンテスト | |
| ユーザー |  tamato | 
| 提出日時 | 2020-06-03 19:51:06 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 350 bytes | 
| コンパイル時間 | 253 ms | 
| コンパイル使用メモリ | 82,228 KB | 
| 実行使用メモリ | 53,684 KB | 
| 最終ジャッジ日時 | 2024-11-25 09:06:29 | 
| 合計ジャッジ時間 | 1,409 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 11 WA * 1 | 
ソースコード
mod = 1000000007
eps = 10**-9
def main():
    import sys
    input = sys.stdin.readline
    N = int(input())
    A = set()
    for i in range(31):
        A.add(1<<i)
    for a in range(1, N):
        b = N - a
        if a not in A and b not in A:
            print(a, b)
            exit()
    print(-1)
if __name__ == '__main__':
    main()
            
            
            
        