#include #include unsigned long long pi(unsigned long long x) { if(x >= 20000000) return 0; // blow up, but genteelly return pitab[x]; // duh }