백준 16197번 (두 동전, C++) [BAEKJOON]
백준 16197번 ‘두 동전’ 문제에 대한 글입니다. BFS 탐색을 이용하여 해결하였습니다. (This article is about BaekJoon Number 16197 “two coins” problem.
It was solved using BFS.)
백준 16197번 ‘두 동전’ 문제에 대한 글입니다. BFS 탐색을 이용하여 해결하였습니다. (This article is about BaekJoon Number 16197 “two coins” problem.
It was solved using BFS.)
비숍 https://www.acmicpc.net/problem/1799 시간 제한 메모리 제한 제출 정답 맞힌 사람 정답 비율 10 초 128 MB 22527 5606 3885 24.324% 문제 서양 장기인 체스에는 대각선 방향으로 움직일 수 있는 비숍(bishop)이 있다. < 그림 1 >과 같은 정사각형 체스판 위에 B라고 표시된 곳에 비숍이 있을 때 비숍은 대각선 방향으로 움직여 O로 표시된 칸에 있는 다른 말을 …
백준 9663번 ‘N-Queen’ 문제에 대한 글입니다. 백트레킹을 이용하여 해결하였습니다. (This article is about the question of “N-Queen” in Baekjun 9663. It was solved using backtracking.)
백준 15666번 ‘N과 M (12)’ 문제에 대한 글입니다. (This is an article on the question “N and M (12)” of Baekjoon Number 15666.)
백준 15657번 ‘N과 M (8) ‘ 문제에 대한 글입니다. (This is an article on the issue of “N and M (8)” in Baekjoon Number 15657)
백준 15650번 ‘N과 M (2)’ 문제에 대한 글입니다. (This is an article on the question “N and M (2)” of Baekjoon Number 15650.)
백준 15654번 ‘N과 M (5)’ 문제에 대한 글입니다. (This is an article on the question “N and M (5)” of Baekjoon Number 15654)
백준 15663번 ‘N과 M (9)’ 문제에 대한 글입니다. (This is an article on the question of BAEKJOON Number 15663 ‘N and M (9)’)
백준 15652번 ‘N과 M (4)’ 문제에 대한 글입니다. (This is an article on the question “N and M (4)” of Baekjoon Number 15652)
좋은수열 https://www.acmicpc.net/problem/2661 시간 제한 메모리 제한 제출 정답 맞힌 사람 정답 비율 1 초 128 MB 11169 5455 4188 50.144% 문제 숫자 1, 2, 3으로만 이루어지는 수열이 있다. 임의의 길이의 인접한 두 개의 부분 수열이 동일한 것이 있으면, 그 수열을 나쁜 수열이라고 부른다. 그렇지 않은 수열은 좋은 수열이다. 다음은 나쁜 수열의 예이다. 다음은 좋은 수열의 …