zigzag.cc

elementary DP