Created
May 29, 2017 13:15
-
-
Save sifue/49e5311b501fb3ffd2751f711958931b to your computer and use it in GitHub Desktop.
Node.jsで競技プログラミングをする際のテンプレート
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
let input = require('fs').readFileSync('/dev/stdin', 'utf8'); | |
let lines = input.split('\n'); | |
let h1 = parseInt(lines[0]); | |
let h2 = parseInt(lines[1]); | |
console.log(h1 - h2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment