結果

問題 No.83 最大マッチング
ユーザー utsumidaisuke
提出日時 2018-12-13 11:47:53
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 5,000 ms
コード長 189 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 11,648 KB
最終ジャッジ日時 2024-09-25 04:21:15
合計ジャッジ時間 1,088 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

if  N % 2 == 1:
    n = N // 2
    ls = ['7'] + ['1' for i in range(n-1)]
    print(''.join(ls))
else:
    n = N//2
    ls = ['1' for i in range(n)]
    print(''.join(ls))
0