![](https://img-blog.csdnimg.cn/a941117a499346e0ad78961077ae964c.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
编程 题目 -- 练习
文章平均质量分 89
OJ题目,包括LeetCode之类的
Aquamarine__
这个作者很懒,什么都没留下…
展开
-
【CSP】-- CAP Octal Fractions
Time limit:1 Seconds Memory limit:32768KB Fractions in octal (base 8) notation can be expressed exactly in decimal notation. For example,0.75 in octal is 0.953123 (7/8+5/64) in decimal. ...原创 2021-04-16 14:01:20 · 386 阅读 · 0 评论 -
【CSP】-- Lotto
Time Limit: 1 Seconds Memory Limit: 32768KB Problem Description In a Lotto I have ever played, one has to select 6 numbers from the set {1,2,…,49}. A popular strategy to play Lotto - although it ...原创 2021-04-16 14:01:07 · 407 阅读 · 0 评论 -
【CSP 】-- 跳一跳
CSP----201803-1 时间限制:1.0s 内存限制:256.0MB 问题描述 : 近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。 简化后的跳一跳规则如下:玩家每次从当前方块跳到下一个方块,如果没有跳到下一个方块上则游戏结束。 如果跳到了方块上,但没有跳到方块的中心则获得1分;跳到方块中心时,若上一次的得分为1分或这是本局游戏的第一次跳跃则此次得分为2分,否则此次得分...原创 2021-04-16 14:00:33 · 327 阅读 · 0 评论