結果

問題 No.83 最大マッチング
ユーザー IJKTanabe
提出日時 2019-03-15 13:33:22
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 246 bytes
コンパイル時間 236 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 88,192 KB
最終ジャッジ日時 2024-07-01 19:39:38
合計ジャッジ時間 7,796 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 7 TLE * 1 -- * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

while True:
    a = int(input())

    if a<2:
        result = 0
    elif a%2 == 0:
        result = 1
    else:
        result = 7

    for i in range(1,int(a / 2)):
        result += 10**i
    print (result)
    
    if result == 0: break

    
0