結果

問題 No.83 最大マッチング
ユーザー temari(hadaly)temari(hadaly)
提出日時 2019-04-05 16:52:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 238 bytes
コンパイル時間 431 ms
コンパイル使用メモリ 10,584 KB
実行使用メモリ 12,920 KB
最終ジャッジ日時 2023-09-02 13:15:54
合計ジャッジ時間 7,643 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,928 KB
testcase_01 AC 16 ms
7,888 KB
testcase_02 AC 16 ms
8,016 KB
testcase_03 AC 16 ms
7,824 KB
testcase_04 AC 15 ms
8,056 KB
testcase_05 AC 15 ms
8,048 KB
testcase_06 AC 16 ms
7,900 KB
testcase_07 AC 15 ms
7,832 KB
testcase_08 AC 17 ms
7,900 KB
testcase_09 RE -
testcase_10 TLE -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

nyuuryoku = input()

match = int(nyuuryoku)
digit = math.floor(match/2)

result = int(0)
i = int(0)

while match > 1:
    result += 10**i
    i += 1
    match -= 2
    
if match == 1:
    result += 6*10**(i-1)

print(result)
0