일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- 네트워킹
- 알고리즘
- quizlet
- 라이브러리
- 자바스크립트
- pulsesecurevpn
- JLPT
- 데이터통신
- 한빛아카데미
- vpn 에러
- 이벤트
- ArrayList
- ai select
- 초연결 사회의 데이터통신과 네트워킹
- 단어장
- gsap
- 자바
- Node.js
- 일본어
- 연습문제
- pulsesecure
- 갤럭시북5
- React
- 스크롤
- 함수
- html
- java
- Algorithm
- JavaScript
- 백준
- Today
- Total
목록java (99)
umilove98의 블로그

1 2 3 4 5 6 7 8 9 10 11 12 13 14 import java.io.*; import java.math.BigInteger; public class Q2338 { public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); BigInteger a = new BigInteger(bf.readLine()); BigInteger b = new BigInteger(bf.readLine()); System.out.println(a.add(b)); System.out.println(a.subtract(b)); System..

import java.io.*; public class Q1550 { public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); String hex = bf.readLine(); int decimal = Integer.parseInt(hex,16); System.out.println(decimal); } }

public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); BigInteger n = sc.nextBigInteger(); // 총 금액 입력 BigInteger m = sc.nextBigInteger(); // 생명체 수 입력 BigInteger dividend = n.divide(m);// 생명체 당 배당금 BigInteger change = n.remainder(m);// 나머지 System.out.println(dividend); System.out.println(change); }