結果

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

ソースコード

diff #

n = int(input())

arg = ""

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

print(arg)
0