Yunli's Subarray Queries (easy version)
2009G11900· candidate master3s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
37 5 31 2 3 2 1 2 31 52 63 78 4 24 3 1 1 2 4 3 23 62 55 4 24 5 1 2 31 42 5
Output
2322221
58%
2009G1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)