結果

問題 No.83 最大マッチング
ユーザー nobigomu
提出日時 2018-02-28 12:12:30
言語 Lua
(LuaJit 2.1.1734355927)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 150 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 6,824 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-17 18:57:48
合計ジャッジ時間 627 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

function f(n)
	local i, f = math.modf(n/2)
	return string.format("%d%s", f == 0 and 1 or 7, string.rep("1", i - 1))
end
print(f(io.stdin:read("*n")))
0