中国剩余定理
文章平均质量分 78
DTL66
细节决定成败
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 2891 Strange Way to Express Integers 【中国剩余定理线性模方程合并(模板)】
Strange Way to Express IntegersTime Limit:1000MS Memory Limit:131072KB 64bit IO Format:%lld & %llu DescriptionElina is reading a book written by Rujia Liu, which introduces a strange way to expr原创 2016-08-23 12:19:29 · 482 阅读 · 0 评论 -
POJ-1006 Biorhythms 【中国剩余定理模板】
C - BiorhythmsTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %lluSubmitStatusPractice Description人生来就有三个生理周期,分别为体力、感情和智力周期,它们的周期长度为23天、28天和33天。每一个周期中有一天是高峰。在高峰这天,人原创 2016-08-21 22:02:10 · 479 阅读 · 0 评论 -
HDU-1573 X问题 【二元一次方程(讨论)+CRT(模方程合并)】
D - X问题Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description求在小于等于N的正整数中有多少个X满足:X mod a[0] = b[0], X mod a[1] = b[1], X mod a[2] = b[2], …, X mod a[i] = b[i], … (0原创 2016-09-02 23:48:42 · 567 阅读 · 0 评论 -
HDU 3579 Hello Kiki【CRT(互质+不互质)统一】
Hello KikiTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit DescriptionOne day I was shopping in the supermarket. There was a cashier counting coins seriously when a原创 2016-09-03 00:54:20 · 435 阅读 · 0 评论
分享