結果

問題 No.83 最大マッチング
ユーザー Beginer_
提出日時 2025-05-07 16:09:35
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 5,000 ms
コード長 146 bytes
コンパイル時間 425 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2025-05-07 16:09:37
合計ジャッジ時間 1,616 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

def max_num(n):
    if n % 2 == 0:
        print('1' * (n // 2))
    else:
        print('7' + '1' * ((n - 3) // 2))

max_num(n)
0