結果

問題 No.83 最大マッチング
ユーザー temari(hadaly)
提出日時 2019-04-05 16:52:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 238 bytes
コンパイル時間 212 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 16,128 KB
最終ジャッジ日時 2024-06-11 19:55:27
合計ジャッジ時間 7,117 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6 RE * 1 TLE * 1 -- * 2
権限があれば一括ダウンロードができます

ソースコード

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