피보나치 수 6
백준 / 수학 / 11444번 / 피보나치 수 6 / JS
문제 간단설명n이 주어졌을 때, n번째 피보나치 수를 출력하면 된다. 제한 사항 n은 1,000,000,000,000,000,000보다 작거나 같은 자연수이다. 성공 코드const fs = require('fs');const filePath = process.platform === 'linux' ? '/dev/stdin' : '../input.txt';// const filePath = process.platform === 'linux' ? '/dev/stdin' : 'BOJ/input.txt';const input = fs .readFileSync(filePath) .toString() .trim() .split('\n') .map((el) => el.trim());const n = BigI..