結果
| 問題 | No.191 供託金 |
| コンテスト | |
| ユーザー |
nobigomu
|
| 提出日時 | 2018-03-28 19:21:23 |
| 言語 | Lua (LuaJit 2.1.1774638290) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 272 bytes |
| 記録 | |
| コンパイル時間 | 115 ms |
| コンパイル使用メモリ | 7,840 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-11 21:47:13 |
| 合計ジャッジ時間 | 923 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 |
ソースコード
io.stdin:read("*l")
print((function (f, s)
return f(s)
end)(function (s)
local t,n,r = {},0,0
for e in s:gmatch("%d+") do e=tonumber(e) n=n+e table.insert(t,e) end
n = n/10
for _,v in ipairs(t) do if v <= n then r = r+1 end end
return r*30
end, io.stdin:read("*l")))
nobigomu