• 2024-12-252024.12.24 周四
    2024.12.24周四Q1.1100Youaregivenanarray$a$of$n$positiveintegersandascore.Ifyourscoreisgreaterthanorequalto$a_i$,thenyoucanincreaseyourscoreby$a_i$andremove$a_i$fromthearray.Foreachindex$i$,outputthemaximumnum
  • 2024-12-172024.12.16 周一
    2024.12.16周一Q1.1000Monocarpisplayingyetanothercomputergame.Andyetagain,hischaracteriskillingsomemonsters.Thereare$n$monsters,numberedfrom$1$to$n$,andthe$i$-thofthemhas$a_i$healthpointsinitially.Monocarp'schara