https://www.acmicpc.net/problem/1271
const fs = require('fs');
const input = fs.readFileSync('/dev/stdin').toString().split(" ");
const n = BigInt(input[0]);
const m = BigInt(input[1]);
console.log((n/m).toString());
console.log((n%m).toString());
728x90
'Algorithm\CodingTest > Baekjoon' 카테고리의 다른 글
[Baekjoon][7568] 실버5 - 덩치 Python (0) | 2024.01.19 |
---|---|
[Baekjoon][1495] 실버1 - 기타리스트 (0) | 2023.04.22 |
[Baekjoon] [2178] DFS/BFS 실버1 - 미로 탐색 (0) | 2023.03.17 |
[Baekjoon] [1766] 위상정렬 골드2 - 문제집 (0) | 2023.03.15 |
[Baekjoon] [2667] DFS/BFS 실버 1 - 단지번호붙이기 (0) | 2023.03.14 |