알고리즘/프로그래머스

function solution(n) { var answer = 0; for(var i = 0 ; i