Constraint that the number of vertices in the graph is less than or equal to 18.

  • ABC187F
    • V ⇐ 18
    • 2^V == 262144
    • E ⇐ 153
    • 2^V * W is about 4 * 10^7 → OK
    • The assumed solution is 3^V == 387420489 (4 * 10^8)

This page is auto-translated from /nishio/頂点数18ć®åˆ¶ē“„ using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.