-
[java]백준 초코바 27959번알고리즘 문제풀이/백준(자바) 2023. 4. 17. 21:19
코드
import java.util.Scanner; public class BOJ_27959 { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int m = in.nextInt(); if(n*100>=m){//100원 동전 n*100 크거나 같다 System.out.println("Yes"); }else{ System.out.println("No"); } in.close(); } }
링크
https://www.acmicpc.net/problem/27959
'알고리즘 문제풀이 > 백준(자바)' 카테고리의 다른 글
[java]백준 긴자리 계산 2338번 (0) 2023.04.19 [java]백준 연세대학교 15680번 (0) 2023.04.18 [java]백준 숫자의 합 11720번 (0) 2023.04.16 [java]백준 오늘 날짜 10699번 (0) 2023.04.15 [java]백준 인공지능 시계 2530번 (0) 2023.04.15