結果
| 問題 | No.638 Sum of "not power of 2" |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-01-28 09:00:31 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 76 ms / 1,000 ms |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 129 ms |
| コンパイル使用メモリ | 77,556 KB |
| 最終ジャッジ日時 | 2025-12-04 00:54:52 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 12 |
ソースコード
#yuki638 import sys n=int(raw_input()) l=[2**i for i in xrange(61)] for i in xrange(1,n/2+1): if i not in l and (n-i) not in l: print i,n-i sys.exit() print -1