Skip to content

Instantly share code, notes, and snippets.

@keehyun2
Last active January 18, 2018 09:46
Show Gist options
  • Save keehyun2/659ef805f7e08481ee8620cf2bf02c1a to your computer and use it in GitHub Desktop.
Save keehyun2/659ef805f7e08481ee8620cf2bf02c1a to your computer and use it in GitHub Desktop.
var fs = require('fs');
var input = fs.readFileSync('/dev/stdin').toString().split(' ');
// window OS - C:\dev\stdin 파일을 만들고 입력 값을 미리 저장해야함...
console.log(Number(input[0]) + Number(input[1]));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment