cf/mirror

Longest Good Array

CF
2008C800· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
1 2
1 5
2 2
10 20
1 1000000000
Output
2
3
1
5
44721
2008C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)