結果
問題 |
No.638 Sum of "not power of 2"
|
ユーザー |
|
提出日時 | 2021-04-08 14:58:52 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 1,000 ms |
コード長 | 179 bytes |
コンパイル時間 | 226 ms |
コンパイル使用メモリ | 82,652 KB |
実行使用メモリ | 53,296 KB |
最終ジャッジ日時 | 2024-06-23 18:26:59 |
合計ジャッジ時間 | 1,431 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 12 |
ソースコード
N=int(input()) s=set([2**i for i in range(100)]) 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)