CF1779D 每日一题 Boris and His Amazing Haircut
Boris thinks that chess is a tedious game. So he left his tournament early and went to a barber shop as his hair was a bit messy.
His current hair can be described by an array a1,a2,…,an
, where ai
is the height of the hair standing at position i
. His d
原创
2023-01-26 12:08:11 ·
184 阅读 ·
0 评论