Rosetta Problems

Enumerate Palindromes

https://judge.yosupo.jp/problem/enumerate_palindromes