팰린드롬 만들기 - 1254
문제https://www.acmicpc.net/problem/1254느낀점왜 이렇게 애를 많이 먹었는지 모르겠다. 팰린드롬의 성질에 대해서 잘 파악했다면 그렇게 헤매지 않았을 것 같은데.. 문제를 잘 읽자풀이#include #include bool isP(std::string s){ std::cout > s; int start = 0, end = s.size() - 1; int length = s.size(); while (start
2025.02.12