백준 2947번
(1)
[백준] 2947번: 나무 조각 (자바)
https://www.acmicpc.net/problem/2947 123456789101112131415161718192021222324252627282930import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader; //버블정렬public class Main { public static void main(String args[]) throws IOException { int[] piece = new int[5]; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] nums; nums = br.readLine..
Algorithm/백준알고리즘
2018. 10. 7. 22:52