3,314
回編集
編集の要約なし |
タグ: 取り消し |
||
10行目: | 10行目: | ||
t = t + 1 | t = t + 1 | ||
end | end | ||
local output = "" | return table.concat(arr) | ||
--[[local output = "" | |||
if ansTyp == "sum"then | if ansTyp == "sum"then | ||
for i = 1, #arr - 2 do | for i = 1, #arr - 2 do | ||
18行目: | 19行目: | ||
for k = j + 1, #arr do | for k = j + 1, #arr do | ||
if arr[k] == rest then | if arr[k] == rest then | ||
output = output.."("..arr[i]..","..arr[j]..","..rest..")" | |||
end | end | ||
end | end |
回編集