結果
問題 |
No.638 Sum of "not power of 2"
|
ユーザー |
|
提出日時 | 2021-04-08 14:55:02 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 178 bytes |
コンパイル時間 | 211 ms |
コンパイル使用メモリ | 82,112 KB |
実行使用メモリ | 53,252 KB |
最終ジャッジ日時 | 2024-06-23 18:24:21 |
合計ジャッジ時間 | 1,516 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 11 WA * 1 |
ソースコード
N=int(input()) s=set([2**i for i in range(31)]) for i in range(1,N): a,b=i,N-i if a in s or b in s: continue else: print(a,b) exit() print(-1)