随笔分类 - 不太懂
摘要:题意:判断两点是否在线段的同一方,点不能在线上。题解:模拟一下DescriptionA determined army on a certain border decided to enumerate the coordinates in its patrol in a way to make it...
阅读全文
摘要:题意:几个字母比大小的组合数,注意相同字母还有符号题解:动态规划DescriptionBackgroundConsider a specific set of comparable objects. Between two objects a and b, there exits one of th...
阅读全文
摘要:题意:#转/*玩一个游戏,每轮有一个人得分,或减分,当所有轮完成后,找出分数最高的那个人,如果是多个人,找出那些人中第一个达到最高分或更高的人。先保存好每个人的分数,记录下究竟有那几个人会得奖,再次遍历所有回合,找出第一个高于等于那个分数的且最终会得奖的人。*/Sample InputInput3m...
阅读全文
摘要:题解:dpDescriptionAlex doesn't like boredom. That's why whenever he gets bored, he comes up with games. One long winter evening he came up with a game a...
阅读全文
摘要://我觉得这题好像跟我理解的不太一样啊T ^ T,有点郁闷DescriptionThere is a given string S consisting of N symbols. Your task is to find the number of ordered pairs of integer...
阅读全文

浙公网安备 33010602011771号