結果
| 問題 | No.1450 nahco314's First Problem |
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2021-03-31 15:13:12 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 124 bytes |
| 記録 | |
| コンパイル時間 | 61 ms |
| コンパイル使用メモリ | 80,848 KB |
| 実行使用メモリ | 56,708 KB |
| 最終ジャッジ日時 | 2026-09-21 07:17:56 |
| 合計ジャッジ時間 | 2,887 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 36 WA * 1 |
ソースコード
x = int(input())
for m in range(100):
n = x ^ m
if bin(n).count('1') == m:
print(n)
exit()
print(-1)
Kude