Skip to content

팰린드롬 만들기#61

Merged
asqwklop12 merged 1 commit into
mainfrom
0202
Feb 3, 2026
Merged

팰린드롬 만들기#61
asqwklop12 merged 1 commit into
mainfrom
0202

Conversation

@asqwklop12

Copy link
Copy Markdown
Owner

유형: 구현 아닌가.... 으음, 브루트 포스
등급:실버
url: https://www.acmicpc.net/problem/1254

쉽다 쉬워 이 문제는 왼쪽과 오른쪽을 비교해서 하나가 무조건 팰린트롬이 되어야 합니다.
그리고 다른한쪽을 양쪽에 넣어주면 됩니다. 예시로
a와b에서 b가 팰린트롬이 되었다고 한다면, a 문자열과 뒤집은 a의 문자열을 b의 양끝에 붙여주면
또다른 팰린트롬이 완성이 되어진다.
이말은 문제에서 문자열을 추가해서 새로운 팰린트롬으로 만들어지는 경우를 찾으면 된다..~~

@asqwklop12
asqwklop12 merged commit 4f67f42 into main Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant