Challenge
Careers
Class
Connect
로그인 후 문제풀이가 가능합니다.
숫자 크기
C++에서 pow는 double을 반환한다는 사실을 잊지마세요.
JS
const fs = require('fs'); const dotX = Array(+fs.readFileSync('input.txt', 'utf8').trim()).fill(0).reduce((a, b) => a + a - 1, 2) console.log(dotX ** 2);