結果

問題 No.83 最大マッチング
ユーザー nobuta05
提出日時 2015-03-26 00:56:36
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 5,000 ms
コード長 181 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-06-29 00:59:33
合計ジャッジ時間 1,097 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

arg = ""

if n == 2:
    arg += "1"
else:
    if n % 2 == 0:
        arg += "1" * (n // 2)
    else:
        n -= 3
        arg += '7' + "1" * (n // 2)

print(arg)
0