Removal of a Sequence (Hard Version)
2169D22100· master2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
62 3 52 5 120 2 1000000000000175 10 281000000000 998244353 19999999991 1 1
Output
101-123390303044672518823-1
58%
2169D2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)