본문 바로가기

JAVA206

[Bronze V] 백준 - 2393. Rook : Java 2393번: RookThe rook art, exactly as shown below, with no extra blank spaces. In particular, a line must not end with a blank space.www.acmicpc.net    문제 : You have just learned how to output text to the screen and your teacher has challenged you to create an ASCII art of a chess piece. You have decided to make your favorite piece, the rook.출력 : The rook art, exactly as shown below, with no extra.. 2023. 12. 19.
[Bronze V] 백준 - 2377. Pottery : FreeBASIC 2377번: Pottery3D printing is becoming more and more prominent in today’s society. Unfortunately, you don’t currently have access to a 3D printer. Instead, you can just print an item with your knowledge of coding! Print a clay pot.www.acmicpc.net    문제 : 3D printing is becoming more and more prominent in today’s society. Unfortunately, you don’t currently have access to a 3D printer. Instead, you.. 2023. 12. 19.
[Bronze V] 백준 - 2372. Livestock Count : Ada 2372번: Livestock CountPrint the table below as shown. The character “-”, is a dash not an underscore.www.acmicpc.net  문제 : Print a table that describes the current count of all your livestock.출력 : Print the table below as shown. The character “-”, is a dash not an underscore.예제 : Animal Count-----------------Chickens 100Clydesdales 5Cows 40Goats 22Steers .. 2023. 12. 19.
[Bronze V] 백준 - 2338. 긴자리 계산 : Java 2338번: 긴자리 계산첫째 줄에 A+B, 둘째 줄에 A-B, 셋째 줄에 A×B를 출력한다. 각각을 출력할 때, 답이 0인 경우를 제외하고는 0으로 시작하게 해서는 안 된다(1을 01로 출력하면 안 된다는 의미).www.acmicpc.net   문제 : 두 수 A, B를 입력받아, A+B, A-B, A×B를 구하는 프로그램을 작성하시오. 입력 : 첫째 줄에 A가, 둘째 줄에 B가 주어진다. 각각의 수는 10진수로 1,000자리를 넘지 않으며 양수와 음수가 모두 주어질 수 있다.출력 : 첫째 줄에 A+B, 둘째 줄에 A-B, 셋째 줄에 A×B를 출력한다. 각각을 출력할 때, 답이 0인 경우를 제외하고는 0으로 시작하게 해서는 안 된다(1을 01로 출력하면 안 된다는 의미). import java.math.. 2023. 12. 19.
[Bronze V] 백준 - 1809. Moo : Golfscript 1809번: MooYou’ve decided to buy a farm and start a new life. To pass some time while you wait for the title of the land to go through, produce the following ascii cow.www.acmicpc.net   문제 : You’ve decided to buy a farm and start a new life. To pass some time while you wait for the title of the land to go through, produce the following ascii cow.  "(___)(o o)____/ @@ \\ \\ ____,/ // // ^.. 2023. 12. 19.
[Bronze V] 백준 - 1330. 두 수 비교하기 : Java 1330번: 두 수 비교하기두 정수 A와 B가 주어졌을 때, A와 B를 비교하는 프로그램을 작성하시오.www.acmicpc.net   문제 : 두 정수 A와 B가 주어졌을 때, A와 B를 비교하는 프로그램을 작성하시오.입력 : 첫째 줄에 A와 B가 주어진다. A와 B는 공백 한 칸으로 구분되어져 있다. 출력 : 첫째 줄에 다음 세 가지 중 하나를 출력한다.A가 B보다 큰 경우에는 '>'를 출력한다.A가 B보다 작은 경우에는 'A와 B가 같은 경우에는 '=='를 출력한다.제한 : -10,000 ≤ A, B ≤ 10,000 import java.util.Scanner;public class no_1330 { public static void main(String[] args) { Scann.. 2023. 12. 19.