結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
Watson
|
| 提出日時 | 2017-07-28 11:30:27 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 162 ms / 5,000 ms |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 553 ms |
| コンパイル使用メモリ | 20,948 KB |
| 実行使用メモリ | 15,576 KB |
| 最終ジャッジ日時 | 2026-04-26 07:11:50 |
| 合計ジャッジ時間 | 3,052 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
N = int(input())
A = []
while N != 0:
if N >= 5 and N%2 == 1 or N == 3:
A.append("7")
N -= 3
if N == 2 or N >=4:
A.append("1")
N -= 2
print("".join(A))
Watson