Beautiful Triple Pairs
1974C1400· specialist4s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
853 2 2 2 351 2 1 2 181 2 3 2 2 3 4 242 1 1 182 1 1 2 1 1 1 172 1 1 1 1 1 162 1 1 1 1 152 1 1 1 1
Output
20318432
58%
1974C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)