Maximize the Intersections
1552C1800· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
44 28 21 51 12 12 010 614 62 209 1013 1815 1211 7
Output
40114
58%
1552C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
44 28 21 51 12 12 010 614 62 209 1013 1815 1211 7
40114