結果

問題 No.83 最大マッチング
ユーザー 3kx3kx
提出日時 2017-06-08 16:14:20
言語 Python2
(2.7.18)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 135 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 7,136 KB
実行使用メモリ 6,776 KB
最終ジャッジ日時 2023-10-23 19:46:46
合計ジャッジ時間 1,082 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
6,464 KB
testcase_01 AC 10 ms
6,464 KB
testcase_02 AC 11 ms
6,464 KB
testcase_03 AC 10 ms
6,464 KB
testcase_04 AC 11 ms
6,464 KB
testcase_05 AC 11 ms
6,464 KB
testcase_06 AC 10 ms
6,464 KB
testcase_07 AC 11 ms
6,464 KB
testcase_08 AC 10 ms
6,464 KB
testcase_09 AC 12 ms
6,644 KB
testcase_10 AC 45 ms
6,740 KB
testcase_11 AC 76 ms
6,776 KB
testcase_12 AC 75 ms
6,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(raw_input())
t = n
s = ""
if t % 2 == 1:
    s = s + "7"
    t = t - 3
while t > 1:
    s = s + "1"
    t = t - 2
print int(s)
0