• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
井_中窥月
万物美好,我在中央
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 7 8 9 下一页
2015年8月8日
HDU 4123(树的直径+单调队列)
摘要: Bob’s RaceTime Limit: 5000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2833Accepted Submission(s): 917Problem D... 阅读全文
posted @ 2015-08-08 11:37 井_中窥月 阅读(239) 评论(0) 推荐(0)
2015年8月5日
裴蜀定理
摘要: 裴蜀定理(或贝祖定理,Bézout's identity)得名于法国数学家艾蒂安·裴蜀。1.裴蜀定理:对任何整数a、b,存在整数x、y,使得ax + by = (a, b)2.重要推论:整数a与b互质的充要条件是,存在整数x、y,使得ax + by = 13. n个整数之间:设a1,a2,a3...... 阅读全文
posted @ 2015-08-05 09:57 井_中窥月 阅读(481) 评论(0) 推荐(0)
2015年8月2日
ZOJ 3826
摘要: Hierarchical NotationTime Limit:2 Seconds Memory Limit:131072 KBIn Marjar University, students in College of Computer Science will learn EON (Edward O... 阅读全文
posted @ 2015-08-02 20:11 井_中窥月 阅读(196) 评论(0) 推荐(0)
2015年8月1日
ZOJ 3822(求期望)
摘要: DominationTime Limit:8 Seconds Memory Limit:131072 KB Special JudgeEdward is the headmaster of Marjar University. He is enthusiastic about chess and o... 阅读全文
posted @ 2015-08-01 10:58 井_中窥月 阅读(168) 评论(0) 推荐(0)
2015年7月30日
组合数取模
摘要: 组合数取模即求的值,根据,和的取值范围不同,采取的方法也有所区别。(1)和 杨辉三角,C(k+n-1,n-1) = C(n+k-1,k),那么由于和的范围小,直接两层循环即可。(2)和,并且是素数 这个问题有个叫做Lucas的定理,定理描述是,如果 那么得到 即C(n,m)模p等于p进制数上各位的C... 阅读全文
posted @ 2015-07-30 11:36 井_中窥月 阅读(615) 评论(0) 推荐(0)
2015年7月27日
hdu 1520
摘要: Anniversary partyTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6401Accepted Submission(s): 2862P... 阅读全文
posted @ 2015-07-27 19:46 井_中窥月 阅读(226) 评论(0) 推荐(0)
2015年7月26日
Codeforces Round #313 (Div. 2) C. Gerald's Hexagon
摘要: C. Gerald's Hexagontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGerald got a very curious hex... 阅读全文
posted @ 2015-07-26 10:46 井_中窥月 阅读(136) 评论(0) 推荐(0)
2015年6月19日
uva 10723
摘要: 10723 - Cyborg GenesTime limit: 3.000 secondsProblem FCyborgGenesTime Limit1 SecondSeptember 11, 2132.This is the day that marks the beginning of the ... 阅读全文
posted @ 2015-06-19 10:59 井_中窥月 阅读(156) 评论(0) 推荐(0)
2015年6月14日
uva 1220
摘要: 1220 - Party at Hali-BulaTime limit: 3.000 secondsDear Contestant,I'm going to have a party at my villa at Hali-Bula to celebrate my retirement from B... 阅读全文
posted @ 2015-06-14 18:27 井_中窥月 阅读(188) 评论(0) 推荐(0)
uva 12186
摘要: 12186 - Another CrisisTime limit: 3.000 secondsA couple of years ago, a new world wide crisis started, leaving many people with economical problems. S... 阅读全文
posted @ 2015-06-14 18:21 井_中窥月 阅读(152) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3