会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ctfes
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
11
下一页
2018年10月14日
HDU 5550 - Game Rooms(DP + 前缀和预处理)
摘要: 链接: http://acm.hdu.edu.cn/showproblem.php?pid=5550 题意: 一个大楼有n(2≤n≤4000)层,每层可以建一个乒乓球房或者一个游泳房,且每种房间在大楼里至少要有一个。已知每层有ti个乒乓球运动员和pi个游泳运动员(1≤ti,pi≤1e9)。问怎样建房
阅读全文
posted @ 2018-10-14 00:31 Ctfes
阅读(355)
评论(0)
推荐(0)
2018年10月9日
UVa 1412 - Fund Management(状压DP + 预处理)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4158 题意: 你有c(0.01≤c≤1e8)美元现金,但没有股票。给你m(1≤m≤100)天时间
阅读全文
posted @ 2018-10-09 22:58 Ctfes
阅读(276)
评论(0)
推荐(0)
2018年10月5日
UVa 1252 - Twenty Questions(状压DP)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3693 题意: 有n(n≤128)个物体,m(m≤11)个特征。每个物体用一个m位01串表示,表示
阅读全文
posted @ 2018-10-05 22:32 Ctfes
阅读(262)
评论(0)
推荐(0)
2018年9月30日
UVa 1642 - Magical GCD(数论)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4517 题意: 输入一个n(n≤100000)个元素的正整数序列,求一个连续子序列,使得该序列中所
阅读全文
posted @ 2018-09-30 23:57 Ctfes
阅读(237)
评论(0)
推荐(0)
2018年9月29日
UVa 1393 - Highways(数论)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4139 题意: 有一个n行m列(1≤n,m≤300)的点阵,问:一共有多少条非水平非竖直的直线至少
阅读全文
posted @ 2018-09-29 23:49 Ctfes
阅读(142)
评论(0)
推荐(0)
UVa 10214 - Trees in a Wood.(欧拉函数)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1155 题意: 在满足|x|≤a,|y|≤b(a≤2000,b≤2000000)的网格中,除了原点
阅读全文
posted @ 2018-09-29 03:57 Ctfes
阅读(158)
评论(0)
推荐(0)
2018年9月21日
UVa 11440 - Help Tomisu(欧拉函数 + 问题转换)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2435 题意: 给定正整数N和M,统计2和N!之间有多少个整数x满足:x的所有素因子都大于M(2≤
阅读全文
posted @ 2018-09-21 11:10 Ctfes
阅读(249)
评论(0)
推荐(0)
2018年9月12日
UVa 1363 - Joseph's Problem(数论)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4109 题意: 输入正整数n和k(1≤n,k≤1e9),计算sum(k mod i)(1≤i≤n)
阅读全文
posted @ 2018-09-12 21:10 Ctfes
阅读(202)
评论(0)
推荐(0)
2018年9月11日
UVa 1641 - ASCII Area
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4516 题意: 在一个h*w(2≤h,w≤100)的字符矩阵里用“.”、“\”和“/”画出一个多边
阅读全文
posted @ 2018-09-11 23:58 Ctfes
阅读(180)
评论(0)
推荐(0)
UVa 10213 - How Many Pieces of Land ?(欧拉公式)
摘要: 链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1154 题意: 有一块椭圆形的地。在边界上选n(0≤n<2^31)个点并两两连接得到n(n-1)/
阅读全文
posted @ 2018-09-11 23:47 Ctfes
阅读(263)
评论(0)
推荐(0)
1
2
3
4
5
···
11
下一页
公告