結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
gya9_
|
| 提出日時 | 2018-07-19 19:43:43 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 160 bytes |
| 記録 | |
| コンパイル時間 | 475 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 20,572 KB |
| 最終ジャッジ日時 | 2026-05-30 06:03:20 |
| 合計ジャッジ時間 | 3,625 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 RE * 1 |
| other | WA * 4 RE * 6 |
ソースコード
N = int(input())
A = list(bin(N))
B = A[::-1].index("1")
ones = ["1" for i in range(B)]
if N % 2 == 1:
ones[0] = "7"
ans = int("".join(ones))
print(ans)
gya9_