cf/mirror

Bouquet (Easy Version)

CF
1995B11100· newbie1.5s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
5 10
1 1 2 2 3
8 20
4 2 7 5 6 1 1 1
8 100000
239 30 610 122 24 40 8 2
11 13
2 4 11 1 1 2 3 5 4 3 2
8 1033
206 206 206 207 207 207 207 1000
Output
7
13
610
13
1033
1995B1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)