网站首页
编程语言
数据库
系统相关
其他分享
编程问答
Monocarp
2024-12-25
2024.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-17
2024.12.16 周一
2024.12.16周一Q1.1000Monocarpisplayingyetanothercomputergame.Andyetagain,hischaracteriskillingsomemonsters.Thereare$n$monsters,numberedfrom$1$to$n$,andthe$i$-thofthemhas$a_i$healthpointsinitially.Monocarp'schara