結果

問題 No.83 最大マッチング
ユーザー nnKei819nnKei819
提出日時 2018-04-14 10:51:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 36 ms / 5,000 ms
コード長 183 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 10,740 KB
実行使用メモリ 11,876 KB
最終ジャッジ日時 2023-09-09 05:00:51
合計ジャッジ時間 1,060 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,760 KB
testcase_01 AC 16 ms
7,748 KB
testcase_02 AC 15 ms
7,760 KB
testcase_03 AC 16 ms
7,696 KB
testcase_04 AC 16 ms
7,776 KB
testcase_05 AC 15 ms
7,740 KB
testcase_06 AC 16 ms
7,892 KB
testcase_07 AC 15 ms
7,776 KB
testcase_08 AC 15 ms
7,704 KB
testcase_09 AC 17 ms
8,452 KB
testcase_10 AC 29 ms
10,992 KB
testcase_11 AC 36 ms
11,792 KB
testcase_12 AC 35 ms
11,876 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
box = []
if(N>0):
    while(N>1):
        box.append(1)
        N-=2
    if(N==1):
        box[0]=7
else:
    box.append(0)
m_box = map(str,box)
print(''.join(m_box))
0