A - Ward the Village Editorial by seven7_2

Solution of 488th

Consider letting all the output numbers be the same and try the same number. The maximum sum of points is 6746856, in whici the number is 1.

https://atcoder.jp/contests/ahc070/submissions/78762100

posted:
last update: