結果
| 問題 |
No.1450 nahco314's First Problem
|
| コンテスト | |
| ユーザー |
sasa8uyauya
|
| 提出日時 | 2024-09-11 05:42:24 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 2,000 ms |
| コード長 | 112 bytes |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 82,528 KB |
| 実行使用メモリ | 53,564 KB |
| 最終ジャッジ日時 | 2024-09-11 05:42:28 |
| 合計ジャッジ時間 | 3,478 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 37 |
ソースコード
x=int(input()) for m in range(63): n=x^m if n.bit_count()==m and 1<=n<=2*10**18: print(n) exit() print(-1)
sasa8uyauya