結果

問題 No.83 最大マッチング
ユーザー とりすけとりすけ
提出日時 2023-05-13 17:59:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 63 ms / 5,000 ms
コード長 159 bytes
コンパイル時間 1,260 ms
コンパイル使用メモリ 86,876 KB
実行使用メモリ 71,352 KB
最終ジャッジ日時 2023-08-19 16:04:15
合計ジャッジ時間 3,234 ms
ジャッジサーバーID
(参考情報)
judge10 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
71,092 KB
testcase_01 AC 62 ms
71,064 KB
testcase_02 AC 62 ms
71,060 KB
testcase_03 AC 62 ms
71,104 KB
testcase_04 AC 63 ms
71,176 KB
testcase_05 AC 61 ms
70,944 KB
testcase_06 AC 62 ms
71,324 KB
testcase_07 AC 61 ms
71,136 KB
testcase_08 AC 60 ms
70,944 KB
testcase_09 AC 59 ms
70,948 KB
testcase_10 AC 60 ms
71,352 KB
testcase_11 AC 61 ms
71,308 KB
testcase_12 AC 60 ms
71,160 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

input = sys.stdin.readline

n = int(input())

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

print(res, flush=True)
0