結果
| 問題 | No.638 Sum of "not power of 2" |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2022-01-19 21:10:42 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 1,000 ms |
| + 506µs | |
| コード長 | 152 bytes |
| 記録 | |
| コンパイル時間 | 65 ms |
| コンパイル使用メモリ | 83,140 KB |
| 実行使用メモリ | 56,152 KB |
| 最終ジャッジ日時 | 2026-09-28 15:45:53 |
| 合計ジャッジ時間 | 1,635 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)