알고리즘/BOJ 1238

백준 6779번 Who Has Seen The Wind

문제 링크입니다: https://www.acmicpc.net/problem/6779 6779번: Who Has Seen The Wind The input is two non-negative integers: h, the humidity factor, followed by M, the maximum number of hours Margaret will wait for the weather balloon to return to ground. You can assume 0 ≤ h ≤ 100 and 0 < M < 240. www.acmicpc.net 간단한 구현 문제였습니다. 개발환경:Visual Studio 2017 지적, 조언, 질문 환영입니다! 댓글 남겨주세요~

알고리즘/BOJ 2021.06.04

백준 6696번 Too Much Water

문제 링크입니다: https://www.acmicpc.net/problem/6696 6696번: Too Much Water Fred Mapper is a real estate agent in Prague. Many foreign delegates participating in NATO Summit ask him to find some house for them, because they want to rent it during their stay in Prague. Some even plan to stay here for a longer time after the Summit www.acmicpc.net 원점 -> (X, Y)까지의 거리를 반지름으로 하는 반원의 넓이가 가득 찰 때까지의 걸리는 시간 개발환..

알고리즘/BOJ 2021.06.03

백준 6609번 모기곱셈

문제 링크입니다: https://www.acmicpc.net/problem/6609 6609번: 모기곱셈 입력은 여러 개의 테스트 케이스로 이루어져 있으며 각 테스트 케이스당 한 줄로 주어진다. 각 줄은 7개의 변수인 M, P, L, E, R, S, N이 포함되어 있으며 공백문자로 나누어져 있다. M,P,L은 각각 첫 www.acmicpc.net 간단한 수학 문제였습니다. 개발환경:Visual Studio 2017 지적, 조언, 질문 환영입니다! 댓글 남겨주세요~

알고리즘/BOJ 2021.06.03

백준 3602번 iChess

문제 링크입니다: https://www.acmicpc.net/problem/3602 3602번: iChess The Jury of NEERC’07 quarterfinals is proud to present you a new game — chess patience. This patience is played not with cards, but with black and white square tiles. The goal of the game is to place these tiles on a flat surface so that they form a sq www.acmicpc.net 넓이가 1인 정사각형도 허용됩니다. 개발환경:Visual Studio 2017 지적, 조언, 질문 환영입니다! 댓글 남겨주..

알고리즘/BOJ 2021.06.03

백준 6437번 Golf

문제 링크입니다: https://www.acmicpc.net/problem/6437 6437번: Golf Whoever wants to learn the game of golf has to cope with several oddities first (as with every other game that originates from Great Britain). One of them is the way to count the number of strokes a player needed to put his golf ball in a hole. There is a www.acmicpc.net 간단한 구현 문제였습니다. 개발환경:Visual Studio 2017 지적, 조언, 질문 환영입니다! 댓글 남겨주세요~

알고리즘/BOJ 2021.06.01

백준 6378번 디지털 루트

문제 링크입니다: https://www.acmicpc.net/problem/6378 6378번: 디지털 루트 양의 정수 N의 디지털 루트를 구하려면 N을 이루고 있는 모든 자리수를 더해야 한다. 이때, 더한 값이 한 자리 숫자라면, 그 수가 N의 디지털 루트가 된다. 두 자리 이상 숫자인 경우에는 다시 그 www.acmicpc.net 간단한 문자열 처리 문제였습니다. 개발환경:Visual Studio 2017 지적, 조언, 질문 환영입니다! 댓글 남겨주세요~

알고리즘/BOJ 2021.06.01

BOJ 6322번 직각 삼각형의 두 변

문제 링크입니다: https://www.acmicpc.net/problem/6322 6322번: 직각 삼각형의 두 변 입력은 여러 개의 테스트 케이스로 이루어져 있다. 각 테스트 케이스는 한 줄로 이루어져 있고, 직각 삼각형의 세 변의 길이 a, b, c가 주어진다. a, b, c중 하나는 -1이며, -1은 알 수 없는 변의 길이 www.acmicpc.net ios_base::sync_with_stdio(false)인 상태로 cout과 printf를 혼용해서 쓰지 맙시다... (https://jaimemin.tistory.com/1521) 개발환경:Visual Studio 2017 지적, 조언, 질문 환영입니다! 댓글 남겨주세요~

알고리즘/BOJ 2021.05.31

백준 6249번 TV Reports

문제 링크입니다: https://www.acmicpc.net/problem/6249 6249번: TV Reports The first line of the input contains three positive integers n, p, and h (separated by a space), where n (1 ≤ n,p,h ≤ 10,000) specifies the number of days you are hired for to record the headlines, p is the price of Dollar one day before you start your www.acmicpc.net 간단한 구현 문제였습니다. 개발환경:Visual Studio 2017 지적, 조언, 질문 환영입니다! 댓글 남겨주세요~

알고리즘/BOJ 2021.05.30