Lattice Optimizing
2002G3400· legendary gm7s1024 MB⌨ stdin/stdout
Examples
Sample 1of 2multi-test • hover to link
Input
231 0 20 1 32 10 33 031 2 00 1 22 01 20 1
Output
32
Sample 2of 2multi-test • hover to link
Input
11016 7 3 15 9 17 1 15 9 04 3 1 12 13 10 10 14 6 123 1 3 9 5 16 0 12 7 1211 4 8 7 13 7 15 13 9 22 3 9 9 4 12 17 7 10 1510 6 15 17 13 6 15 9 4 913 3 3 14 1 2 10 10 12 168 2 9 13 18 7 1 6 2 615 12 2 6 0 0 13 3 7 177 3 17 17 10 15 12 14 154 3 3 17 3 13 11 16 616 17 7 7 12 5 2 4 1018 9 9 3 5 9 1 16 71 0 4 2 10 10 12 2 14 14 15 16 15 5 8 4 187 18 10 11 2 0 14 8 182 17 6 0 9 6 13 5 115 15 7 11 6 3 17 14 51 3 16 16 13 1 0 13 11
Output
14
58%
2002G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)