結果

問題 No.83 最大マッチング
ユーザー rlangevinrlangevin
提出日時 2023-10-28 18:56:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 52 ms / 5,000 ms
コード長 145 bytes
コンパイル時間 250 ms
コンパイル使用メモリ 81,836 KB
実行使用メモリ 75,052 KB
最終ジャッジ日時 2023-10-28 18:56:24
合計ジャッジ時間 1,465 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
53,572 KB
testcase_01 AC 33 ms
53,572 KB
testcase_02 AC 33 ms
53,572 KB
testcase_03 AC 33 ms
53,572 KB
testcase_04 AC 33 ms
53,572 KB
testcase_05 AC 33 ms
53,572 KB
testcase_06 AC 33 ms
53,572 KB
testcase_07 AC 33 ms
53,572 KB
testcase_08 AC 32 ms
53,572 KB
testcase_09 AC 46 ms
62,376 KB
testcase_10 AC 49 ms
71,324 KB
testcase_11 AC 51 ms
75,052 KB
testcase_12 AC 52 ms
75,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ans = []
while N >= 4:
	ans.append(1)
	N -= 2
if N == 2:
	ans.append(1)
else:
	ans.append(7)
	
ans.reverse()
print(*ans, sep="")
0