- 博客(2)
- 收藏
- 关注
原创 2018暑假牛客多校第五场 A题 gpa
题目描述: Kanade selected n courses in the university. The academic credit of the i-th course is s[i] and the score ofNow she can delete at most k courses and she want to know what the highest final score...
2018-08-10 21:23:24 278
原创 HDU 6312 Game
题目链接题目大意:给定一个n,有两个人A和B依次在1到n的正整数中,随机选一个数,并删除它所有的因子,谁最后删完最后一个数就是胜利者,每次都是A先选。问A是否能赢。解析:将这一串正整数分为1和(2——n),先只从2——n之间选择,一定会产生一个胜利者。假如胜利者是A,因为1可以在选择任何一个数时删掉,所以胜利者还会是A。假如胜利者是B,则A就可以先去掉1这样就改变了后面(2——n)...
2018-08-02 10:50:14 173
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人