結果

問題 No.83 最大マッチング
ユーザー Watson
提出日時 2017-07-28 11:29:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 182 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 17,440 KB
最終ジャッジ日時 2024-10-10 04:45:59
合計ジャッジ時間 6,584 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 TLE * 1 -- * 1
other -- * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = []
while N != 0:
    if N >= 5 and N%2 == 1:
        A.append("7")
        N -= 3
    if N == 2 or N >=4:
        A.append("1")
        N -= 2
print("".join(A))
0