문제 번호 : 1330번 문제 바로가기 ☞ https://www.acmicpc.net/problem/1330 const fs = require('fs'); const filePath = process.platform === 'linux' ? '/dev/stdin' : './input.txt'; let input = fs.readFileSync(filePath).toString().split('\n'); input = input[0].split(' '); solution(input[0], input[1]); function solution(A, B){ let a = Number(A); let b = Number(B); if (a>b) console.log('>') else if (a
[BaekJoon] 1330 번 두 수 비교하기 문제 - (nods.js)
문제 번호 : 1330번 문제 바로가기 ☞ https://www.acmicpc.net/problem/1330 const fs = require('fs'); const filePath = process.platform === 'linux' ? '/dev/stdin' : './input.txt'; let input = fs.readFileSync(filePath).toString().split('\n'); input = input[0].split(' '); solution(input[0], input[1]); function solution(A, B){ let a = Number(A); let b = Number(B); if (a>b) console.log('>') else if (a
2021.12.28