Problem Solving1245 [백준] 6325 Definite Values - Data Structure / Java • 문제 링크 6325번: Definite Values Assume that before the execution of the given program part, variable a has some definite value, while all other variables are undefined. You have to print the names of the variables which have a definite value after the execution of the program part. More www.acmicpc.net • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOExceptio.. 2024. 3. 3. [백준] 6474 Palindromes - Data Structure / Java • 문제 링크 6474번: Palindromes A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from left to right as when the string is read from right to le www.acmicpc.net • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; im.. 2024. 3. 2. [백준] 4675 Word Amalgamation - Data Structure / Java • 문제 링크 4675번: Word Amalgamation The input file contains four parts: 1) a dictionary, which consists of at least one and at most 100 words, one per line; 2) a line containing XXXXXX, which signals the end of the dictionary; 3) one or more scrambled 'words' that you must unscramble, each o www.acmicpc.net • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOExcep.. 2024. 3. 1. [백준] 14783 Eenie Meenie Miney Moe - Data Structure / Java • 문제 링크 14783번: Eenie Meenie Miney Moe "Eenie, meenie, miney, moe... catch a heifer by the toe," an exasperated Bessie muttered. She could never get the syllables right when choosing calves for game playing. Today she is trying to see which of N (1 2024. 2. 29. [백준] 5349 Duplicate SSN - Data Structure / Java • 문제 링크 5349번: Duplicate SSN The U.S. Social Security Administration has made a terrible mistake. When assigning new Social Security numbers (SSN) to U.S. citizens they accidently assigned some duplicate numbers. Fortunately, they caught this mistake early and have a list all the poss www.acmicpc.net • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException.. 2024. 2. 28. [백준] 14914 사과와 바나나 나눠주기 - Brute Force / Java • 문제 링크 14914번: 사과와 바나나 나눠주기 아름이가 나누어 줄 수 있는 경우를 모두 출력해야 하며, 각 경우마다 친구의 수, 사과 개수, 바나나 개수 차례로 한 줄에 각각 빈칸으로 구분하여 출력한다. 각 경우마다 중복없이 한 번만 출력 www.acmicpc.net • 풀이 코드 import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStreamWriter; public class Main { public static void main(String[] args) throws IOException { BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(S.. 2024. 2. 27. 이전 1 ··· 93 94 95 96 97 98 99 ··· 208 다음