update
This commit is contained in:
parent
3f00df79e3
commit
1f19a466f0
@ -1,4 +1,5 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <random>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
@ -20,6 +21,7 @@ bool ispsf[maxn + 10];
|
|||||||
long prF[maxn + 10], cnt_sieveF = 0;
|
long prF[maxn + 10], cnt_sieveF = 0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
unordered_map<long, long> cache;
|
unordered_map<long, long> cache;
|
||||||
|
|
||||||
|
|
||||||
@ -149,6 +151,10 @@ int main() {
|
|||||||
fibidx++;
|
fibidx++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// random_device rd{};
|
||||||
|
// if(rd()%2){
|
||||||
|
// return 0;
|
||||||
|
// }
|
||||||
|
|
||||||
for (long i = 0; i < t; i++) {
|
for (long i = 0; i < t; i++) {
|
||||||
long x = que[i].first;
|
long x = que[i].first;
|
||||||
|
Loading…
Reference in New Issue
Block a user