結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2018-07-19 19:43:43 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 160 bytes |
コンパイル時間 | 215 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-24 09:42:22 |
合計ジャッジ時間 | 1,057 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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)