1-05-05から1日間の記事一覧

prime number calculation

Sieve primes upto 2^32 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> class pbuf { public: int sizbit; unsigned int siz0; unsigned char *buf; unsigned long long starti; pbuf(int bit) { sizbit=bit; siz0=1<<(bit-3-1); buf=(unsigned char *)malloc(si</math.h></string.h></stdlib.h></stdio.h>…

Cookie Clicker Android v.6 Phase 1 Strategy

== Day 1 == CpS Cost Buy 10.00 499.34 GM:01-04 14.00 166.00 CS:01-07 <A6 CS:1><A7 CS:2> 14.70 100.00 [UPG:CS1] 15.40 174.90 GM:05 <A9 Bake 1.0k> 16.40 1.10k FM:01 (1m) <A9 FM:1> 24.40 201.14 GM:06 25.40 1.00k [UPG:GM1] 31.40 1.15k GM:07-10 39.40 2.72k FM:02-03 (1m) 55.40 547.70 C</a9></a9></a7></a6>…