kmyk-jikka / Jikka

an automated solver for problems of competitive programming
https://kmyk-jikka.github.io/Jikka/playground
Apache License 2.0
151 stars 11 forks source link

添字の中の演算子に無駄な括弧が付いてる #130

Closed kmyk closed 3 years ago

kmyk commented 3 years ago

h_1[(i3 + 1)] でなくて h3[i3 + 1] ってなっててほしい

現状:

          std::min<int64_t>(
              x2[i3][1] + std::max<int64_t>(-h_1[(i3 + 1)] + h_1[(i3 + 2)],
                                            h_1[(i3 + 1)] - h_1[(i3 + 2)]),
              x2[i3][0] + std::max<int64_t>(-h_1[i3] + h_1[(i3 + 2)],
                                            h_1[i3] - h_1[(i3 + 2)]))};