結果
問題 | No.638 Sum of "not power of 2" |
ユーザー |
👑 |
提出日時 | 2022-01-19 21:10:42 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 1,000 ms |
コード長 | 152 bytes |
コンパイル時間 | 309 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 51,840 KB |
最終ジャッジ日時 | 2024-11-23 14:04:15 |
合計ジャッジ時間 | 1,565 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 12 |
ソースコード
n = int(input()) for i in range(1, min(n, 20)): j = n - i if i & -i != i and j & -j != j: print(i, j) break else: print(-1)