結果

問題 No.83 最大マッチング
ユーザー shotyasshotyas
提出日時 2016-05-01 19:03:51
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 237 bytes
コンパイル時間 121 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 14,624 KB
最終ジャッジ日時 2024-04-15 08:27:02
合計ジャッジ時間 7,061 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

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