結果

問題 No.83 最大マッチング
ユーザー 9V72n9V72n
提出日時 2020-04-04 13:41:53
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 278 bytes
コンパイル時間 364 ms
コンパイル使用メモリ 10,680 KB
実行使用メモリ 12,116 KB
最終ジャッジ日時 2023-09-16 05:41:16
合計ジャッジ時間 1,389 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,804 KB
testcase_01 AC 16 ms
7,964 KB
testcase_02 AC 16 ms
7,772 KB
testcase_03 AC 15 ms
7,932 KB
testcase_04 AC 15 ms
7,804 KB
testcase_05 WA -
testcase_06 AC 15 ms
7,768 KB
testcase_07 WA -
testcase_08 AC 15 ms
7,828 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 27 ms
12,116 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
result = []
if N <= 5:
    if N == 0 and N == 1:
        print(0)
    if N == 2:
        print(1)
    if N == 3:
        print(7)
    if N == 4:
        print(11)
    if N == 5:
        print(71)
else:
    result = [1]*(N//2)
    print("".join(map(str,result)))
0