size_t sum(size_t n) { return (n | 1) * ((n + 1) >> 1); }


- 반복문 없음
- 조건문 없음
- 계산 중간 과정에서 overflow 없음