JAVA [Algorithm] - 백준 2839 설탕 배달
📝문제 설명 📢입출력 예시 ✏️문제 풀이package Baekjoon.Greedy;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class Baek2839 { public static void main(String[] arg) throws IOException { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); int sugar = Integer.parseInt(bufferedReader.readLine()); int count..
2024.12.11