結果

問題 No.83 最大マッチング
ユーザー Kaito KoikeKaito Koike
提出日時 2018-03-30 17:07:28
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 174 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-26 00:31:25
合計ジャッジ時間 1,169 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

counter = 0

while True:
    n = n - 2
    counter += 1
    if n < 2 :
        break
if n == 0:
    print("1"*counter)
else:
    print('7'+"1"*(counter-1))
0