cf/mirror

Brand New Problem

CF
201D2600· international gm5s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
4
find the next palindrome
1
10 find the previous palindrome or print better luck next time
Output
1
[:||||||:]
Sample 2of 4
Input
3
add two numbers
3
1 add
2 two two
3 numbers numbers numbers
Output
Brand new problem!
Sample 3of 4
Input
4
these papers are formulas
3
6 what are these formulas and papers
5 papers are driving me crazy
4 crazy into the night
Output
1
[:||||:]
Sample 4of 4
Input
3
add two decimals
5
4 please two decimals add
5 decimals want to be added
4 two add decimals add
4 add one two three
7 one plus two plus three equals six
Output
3
[:|||:]
201D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)