Skip to content

Commit 052b86c

Browse files
committed
02.01: math(Julka)
1 parent d5724de commit 052b86c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

baekjoon/8437.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Julka : 수학
2+
const [total, over] = require("fs")
3+
.readFileSync(0, "utf-8")
4+
.trim()
5+
.split("\n")
6+
.map((v) => BigInt(v));
7+
console.log([(total - over) / 2n + over, (total - over) / 2n].join("\n"));

0 commit comments

Comments
 (0)