結果

問題 No.83 最大マッチング
ユーザー maspymaspy
提出日時 2020-01-21 14:18:21
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 35 ms / 5,000 ms
コード長 227 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 13,568 KB
最終ジャッジ日時 2024-07-05 16:47:09
合計ジャッジ時間 1,171 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N = int(read())

if N&1:
    A = [7] + [1] * ((N-3)//2)
else:
    A = [1] * (N//2)

print(''.join(map(str,A)))
0