Palindromic Subsequences
2056C1200· pupil2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
36915
Output
1 1 2 3 1 27 3 3 7 5 3 7 7 315 8 8 8 15 5 8 1 15 5 8 15 15 15 8
58%
2056C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)