結果

問題 No.83 最大マッチング
ユーザー bear122catbear122cat
提出日時 2019-05-25 20:13:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 69 ms / 5,000 ms
コード長 192 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 11,676 KB
実行使用メモリ 10,648 KB
最終ジャッジ日時 2023-10-17 17:46:09
合計ジャッジ時間 1,270 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,012 KB
testcase_01 AC 30 ms
10,012 KB
testcase_02 AC 29 ms
10,012 KB
testcase_03 AC 29 ms
10,012 KB
testcase_04 AC 29 ms
10,012 KB
testcase_05 AC 29 ms
10,012 KB
testcase_06 AC 29 ms
10,012 KB
testcase_07 AC 29 ms
10,012 KB
testcase_08 AC 30 ms
10,012 KB
testcase_09 AC 34 ms
10,440 KB
testcase_10 AC 56 ms
10,648 KB
testcase_11 AC 69 ms
10,648 KB
testcase_12 AC 65 ms
10,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
r=n%2
q=n//2
if r == 0:
    for i in range(q):
        print(str(1), end="")
if r == 1:
    print(str(7),end="")
    for i in range(q-1):
        print(str(1), end="")
print("")
0