結果

問題 No.83 最大マッチング
ユーザー pia-19pia-19
提出日時 2020-06-16 10:41:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 165 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 10,684 KB
実行使用メモリ 8,296 KB
最終ジャッジ日時 2023-09-16 10:53:19
合計ジャッジ時間 1,063 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,760 KB
testcase_01 AC 14 ms
7,832 KB
testcase_02 AC 14 ms
7,832 KB
testcase_03 AC 15 ms
7,840 KB
testcase_04 AC 16 ms
7,896 KB
testcase_05 AC 15 ms
7,908 KB
testcase_06 AC 15 ms
7,764 KB
testcase_07 AC 15 ms
7,844 KB
testcase_08 AC 15 ms
7,844 KB
testcase_09 AC 15 ms
7,732 KB
testcase_10 AC 38 ms
8,268 KB
testcase_11 AC 60 ms
8,296 KB
testcase_12 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
if N%2==0:
    a=""
    for i in range(N//2):
        a+="1"
    print(int(a))
else:
    a="7"
    for i in range(N//2-1):
        a+="1"
    print(a)
0