Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _CRT_SECURE_NO_WARNINGS
- #include <iostream>
- #include <fstream>
- #include <string>
- #include <vector>
- #include <iomanip>
- #include <algorithm>
- /*
- pi - вер. принятия значения.
- М(x) = Sum(i = 1, k)pi*x;
- x,y
- p(x = xi, y = yi) = p(x) * p(y);
- M(x*y) = M(x) * M(y);
- для независимых случаев
- M(x + y) = M(x) + M(y);
- [0..M-1]
- [0..x-1]
- x<=M
- l = M/x;
- R: l < k * y ? r % x : new num;
- */
- int main() {
- #ifdef _DEBUG
- freopen("input.txt", "r", stdin);
- #endif // _DEBUG
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement