G. Cubic?

Problem Name:
G. Cubic?
Site:AtCoder
Links:
Tags: