結果

問題 No.83 最大マッチング
ユーザー yuki2006yuki2006
提出日時 2015-02-22 00:02:52
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 140 bytes
コンパイル時間 850 ms
コンパイル使用メモリ 77,572 KB
実行使用メモリ 76,688 KB
最終ジャッジ日時 2023-09-06 02:55:53
合計ジャッジ時間 1,884 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
76,164 KB
testcase_01 AC 74 ms
76,620 KB
testcase_02 AC 72 ms
76,384 KB
testcase_03 WA -
testcase_04 AC 74 ms
76,260 KB
testcase_05 WA -
testcase_06 AC 73 ms
76,488 KB
testcase_07 WA -
testcase_08 AC 73 ms
76,392 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 73 ms
76,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

print ans
0