cf/mirror

Palindromic Subsequences

CF
2056C1200· pupil2s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
6
9
15
Output
1 1 2 3 1 2
7 3 3 7 5 3 7 7 3
15 8 8 8 15 5 8 1 15 5 8 15 15 15 8
2056C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)