結果

問題 No.83 最大マッチング
ユーザー pluto77pluto77
提出日時 2016-02-11 13:50:21
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 186 bytes
コンパイル時間 153 ms
コンパイル使用メモリ 7,096 KB
実行使用メモリ 12,024 KB
最終ジャッジ日時 2023-10-21 23:04:22
合計ジャッジ時間 7,019 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
6,392 KB
testcase_01 RE -
testcase_02 AC 9 ms
6,392 KB
testcase_03 AC 9 ms
6,392 KB
testcase_04 AC 9 ms
6,392 KB
testcase_05 AC 10 ms
6,392 KB
testcase_06 AC 9 ms
6,392 KB
testcase_07 AC 9 ms
6,392 KB
testcase_08 AC 9 ms
6,392 KB
testcase_09 AC 143 ms
6,604 KB
testcase_10 TLE -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding: utf-8
##yuki_83

n=int(raw_input())

one=n/2
res=0
if n%2==0:
 for i in xrange(one):
  res+=10**i
elif n%2==1:
 for i in range(one-1):
  res+=10**i
 res+=7*10**(i+1)

print res
0