会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ctfes
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
11
下一页
2018年4月29日
UVa 12034 - Race(递推 + 杨辉三角)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3185 题意: A、B两人赛马,最终名次有3种可能:并列第一;A第一B第二;B第一A第二。输入n(
阅读全文
posted @ 2018-04-29 00:24 Ctfes
阅读(152)
评论(0)
推荐(0)
2018年4月28日
UVa 580 - Critical Mass(递推)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=521 题意: 有一些装有铀(用U表示)和铅(用L表示)的盒子,数量均足够多。要求把n(n≤30)个
阅读全文
posted @ 2018-04-28 23:04 Ctfes
阅读(207)
评论(0)
推荐(0)
2018年4月25日
UVa 1637 - Double Patience(概率DP)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4512 题意: 36张牌分成9堆,每堆4张牌。每次可以拿走某两堆顶部的牌,但需要点数相同。如果有多
阅读全文
posted @ 2018-04-25 00:02 Ctfes
阅读(162)
评论(0)
推荐(0)
2018年4月24日
UVa 11181 - Probability|Given(条件概率)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2122 题意: 有n个人准备去超市逛,其中第i个人买东西的概率是Pi。逛完以后你得知有r个人买了东
阅读全文
posted @ 2018-04-24 11:30 Ctfes
阅读(232)
评论(0)
推荐(0)
2018年4月23日
UVa 10491 - Cows and Cars(全概率)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1432 题意: 有这么一个电视节目:你的面前有3个门,其中两扇门里是奶牛,另外一扇门里则藏着奖品—
阅读全文
posted @ 2018-04-23 23:27 Ctfes
阅读(135)
评论(0)
推荐(0)
UVa 1636 - Headshot(概率)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4511 题意: 首先在手枪里随机装一些子弹,然后抠了一枪,发现没有子弹。你希望下一枪也没有子弹,是
阅读全文
posted @ 2018-04-23 21:43 Ctfes
阅读(169)
评论(0)
推荐(0)
UVa 1262 - Password(解码)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3703 题意: 给两个6行5列的字母矩阵,找出满足如下条件的“密码”:密码中的每个字母在两个矩阵的
阅读全文
posted @ 2018-04-23 19:19 Ctfes
阅读(298)
评论(0)
推荐(0)
UVa 10820 - Send a Table(欧拉函数)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1761 题意: 有一道比赛题目,输入两个整数x、y(1≤x,y≤n),输出某个函数f(x,y)。有
阅读全文
posted @ 2018-04-23 10:45 Ctfes
阅读(166)
评论(0)
推荐(0)
2018年4月21日
UVa 1635 - Irrelevant Elements(二项式系数 + 唯一分解定理)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4510 题意: 对于给定的n个数a1, a2,…, an,依次求出相邻两数之和,将得到一个新数列。
阅读全文
posted @ 2018-04-21 21:27 Ctfes
阅读(180)
评论(0)
推荐(0)
2018年4月18日
UVa 12716 - GCD XOR(筛法 + 找规律)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4454 题意: 输入整数n(1≤n≤30000000),有多少对整数(a,b)满足:1≤b≤a≤n
阅读全文
posted @ 2018-04-18 09:20 Ctfes
阅读(267)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
11
下一页
公告