結果
問題 |
No.638 Sum of "not power of 2"
|
ユーザー |
![]() |
提出日時 | 2023-07-06 07:27:32 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 183 bytes |
コンパイル時間 | 241 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 51,840 KB |
最終ジャッジ日時 | 2024-07-20 02:30:39 |
合計ジャッジ時間 | 1,752 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 11 WA * 1 |
ソースコード
N = int(input()) pow2_set = set([2**i for i in range(70)]) if N <= 5: print(-1) exit() for a in range(1,N): if not {a,N-a} & pow2_set: print(a,N-a) exit()