結果

問題 No.83 最大マッチング
ユーザー yuki2006yuki2006
提出日時 2015-02-22 00:04:43
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 80 ms / 5,000 ms
コード長 151 bytes
コンパイル時間 499 ms
コンパイル使用メモリ 77,192 KB
実行使用メモリ 76,476 KB
最終ジャッジ日時 2023-09-06 02:56:23
合計ジャッジ時間 2,220 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
76,204 KB
testcase_01 AC 78 ms
76,208 KB
testcase_02 AC 78 ms
76,076 KB
testcase_03 AC 79 ms
76,208 KB
testcase_04 AC 79 ms
76,080 KB
testcase_05 AC 78 ms
76,188 KB
testcase_06 AC 78 ms
76,076 KB
testcase_07 AC 80 ms
76,192 KB
testcase_08 AC 77 ms
75,932 KB
testcase_09 AC 77 ms
76,240 KB
testcase_10 AC 80 ms
76,476 KB
testcase_11 AC 79 ms
76,196 KB
testcase_12 AC 79 ms
76,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(raw_input())
use = ((N / 2) - 1)
ans = "1" * use
remain = N - use * 2
if remain == 3:
    ans = "7" + ans
else:
    ans = "1" + ans

print ans
0