Counting Necessary Nodes
2074F2000· candidate master2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
50 1 1 20 2 0 21 3 1 30 2 1 59 98 244 353
Output
1145374
58%
2074F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)