cf/mirror

Again Counting Arrays (Easy Version)

CF
1967E13100· legendary gm5s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
3 2 1
5 5 3
13 4 1
100 6 7
100 11 3
1000 424 132
Output
6
3120
59982228
943484039
644081522
501350342
1967E1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)