結果

問題 No.83 最大マッチング
ユーザー 👑 colognecologne
提出日時 2022-01-26 19:30:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 5,000 ms
コード長 198 bytes
コンパイル時間 468 ms
コンパイル使用メモリ 87,136 KB
実行使用メモリ 71,584 KB
最終ジャッジ日時 2023-08-25 01:38:34
合計ジャッジ時間 2,278 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,584 KB
testcase_01 AC 67 ms
71,420 KB
testcase_02 AC 67 ms
71,248 KB
testcase_03 AC 68 ms
71,204 KB
testcase_04 AC 66 ms
71,104 KB
testcase_05 AC 67 ms
71,104 KB
testcase_06 AC 69 ms
71,288 KB
testcase_07 AC 70 ms
71,428 KB
testcase_08 AC 68 ms
71,296 KB
testcase_09 AC 67 ms
71,196 KB
testcase_10 AC 67 ms
71,432 KB
testcase_11 AC 70 ms
71,280 KB
testcase_12 AC 67 ms
71,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys


def input(): return sys.stdin.readline().rstrip()


def main():
    N = int(input())
    print('1'*(N//2) if N % 2 == 0 else '7'+'1'*((N-3)//2))


if __name__ == '__main__':
    main()
0