
二元一次方程
DTL66
细节决定成败
展开
-
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 · 534 阅读 · 0 评论 -
CodeForces 597A Divisibility【二元一次方程(区间解数) 讨论)】
A. Divisibility time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Find the number of k-divisible numbers on th原创 2016-08-24 00:32:06 · 441 阅读 · 0 评论