数论
Hch丶
深圳打工仔
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 2470 Relatives (欧拉函数)
Relatives Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 15269 Accepted: 7731 Description Given n, a positive integer, how many positive integers less t原创 2017-09-26 22:02:09 · 214 阅读 · 0 评论 -
HDU 2588 GCD (欧拉函数)
GCD Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)原创 2017-09-26 22:10:29 · 202 阅读 · 0 评论 -
HDU 3501 Calculation 2 (欧拉函数)
Calculation 2 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) ...原创 2017-09-26 22:18:12 · 243 阅读 · 0 评论 -
POJ 1061 青蛙的约会 (拓展欧几里得)
青蛙的约会 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 119313 Accepted: 25121 Description 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直原创 2017-09-26 22:51:10 · 228 阅读 · 0 评论 -
2017 ACM-ICPC 亚洲区(西安赛区)网络赛 B Coin(逆元,费马小定理)
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}{2})pq(pq≤21). The question is, when Bob原创 2017-09-30 18:27:40 · 281 阅读 · 0 评论 -
Codeforces 7C Line(拓展欧几里得)
C. Line time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A line on the plane is described by an equation Ax +原创 2017-09-26 23:12:14 · 774 阅读 · 0 评论 -
Codeforces Round #451 (Div. 2) B 拓展欧几里得
B. Proper Nutrition time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasya has n burles. One bottle of Ber-Co原创 2017-12-17 18:56:52 · 309 阅读 · 0 评论 -
2017 CCPC 杭州 B题 /hdu 6265 (状态压缩/规律)
‘ 解法1代码: //577ms #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; const int inf = 0x3f3f3f3f;原创 2018-04-18 14:01:19 · 920 阅读 · 0 评论
分享