数学问题
passer__
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU 4465 (candy)(期望+log优化)
Candy Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2890 Accepted Submission(s): 1305 Special Judge Problem Description LazyChi原创 2017-10-05 10:57:00 · 384 阅读 · 0 评论 -
HDU 5514 (Frogs) (容斥原理)
Frogs Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2920 Accepted Submission(s): 931 Problem Description There are m stones原创 2017-10-05 13:17:23 · 356 阅读 · 0 评论 -
2017 ACM-ICPC 亚洲区(西安赛区)网络赛 B Coin (概率计算)
传送门: https://nanti.jisuanke.com/t/17115 Bob has a not even coin, every time he tosses the coin, the probability that the coin's front face up is \frac{q}{p}(\frac{q}{p} \le \frac{1}{原创 2017-10-05 13:59:02 · 345 阅读 · 0 评论 -
HDU 4710 Balls Rearrangement
Balls Rearrangement Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1136 Accepted Submission(s): 474 Problem Description Bob has原创 2018-02-02 15:19:56 · 204 阅读 · 0 评论 -
AtCoder Regular Contest 077 D 11(思维题)
题目链接 : https://arc077.contest.atcoder.jp/tasks/arc077_b D - 11 Time limit : 2sec / Memory limit : 256MB Score : 600 points Problem Statement You are given an integer sequence of length n+1, a1,a2...原创 2018-07-26 10:13:37 · 525 阅读 · 0 评论 -
51nod 组合数+ Lucas的题目 1118 1119 1120
1118 链接 : http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1118 普通的一个2位的DP 直接跑就行了 #include<bits/stdc++.h> using namespace std; int dp[1005][1005]; const int mod=1e9+7; int main(...原创 2018-07-23 09:47:44 · 235 阅读 · 0 评论 -
洛谷P4562 [JXOI2018]游戏 (Bzoj 5323)(Upc 6887)游戏
题目链接:https://www.luogu.org/problemnew/show/P4562 (不开氧气就RE,不知道为啥) https://www.lydsy.com/JudgeOnline/problem.php?id=5323 题目描述 九条可怜是一个热爱游戏的女孩子,她经常在网上和一些网友们玩一款叫做《僵尸危机》游戏。 在这款游戏中,玩家们会需...原创 2018-08-05 12:00:13 · 354 阅读 · 0 评论 -
数论之欧拉函数+欧拉线性筛
以下资料整理来自:https://www.cnblogs.com/linyujun/p/5194170.html https://blog.youkuaiyun.com/YxuanwKeith/article/details/52387873 void Getphi(int Max) { phi[1] = ...转载 2018-08-22 16:12:22 · 586 阅读 · 0 评论
分享