結果

問題 No.83 最大マッチング
ユーザー shotyas
提出日時 2016-05-01 19:03:51
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 237 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 14,500 KB
最終ジャッジ日時 2024-10-05 00:46:42
合計ジャッジ時間 6,866 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7 TLE * 1 -- * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
result = 0
if (N % 2 == 0):
    for i in range(N / 2):
        result  += 10**i
else:
    for i in range(N/2):
        if(i == N/2 - 1):
            result += 7*(10**i)
        else:
            result  += 10**i

print result
0