# @param {Integer} n # @return {Integer} def tribonacci(n) a,b,c=0,1,1 n.times{a,b,c=b,c,a+b+c} a end
너무 쉽긴했다