結果

問題 No.570 3人兄弟(その1)
コンテスト
ユーザー nobigomu
提出日時 2018-03-29 01:23:23
言語 Lua
(LuaJit 2.1.1767980792)
コンパイル:
luajit -b _filename_ a.out
実行:
luajit _filename_
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 324 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 237 ms
コンパイル使用メモリ 8,096 KB
実行使用メモリ 6,144 KB
最終ジャッジ日時 2026-03-11 22:31:58
合計ジャッジ時間 650 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

(function (f, a, b, c)
	for _,v in ipairs(f(a, b, c)) do print(v[1]) end
end)(function (a, b, c)
	local t = {}
	table.insert(t, {"A"; a})
	table.insert(t, {"B"; b})
	table.insert(t, {"C"; c})
	table.sort(t, function (l, r) return l[2] > r[2] end)
	return t
end, io.stdin:read("*n"), io.stdin:read("*n"), io.stdin:read("*n"))
0