// searchLLR b n1@n2 00.txt #include #include #include #include #include #include #include #include #define factl 100000 using namespace std; using sint=long int; // std::vector >::size_type; string p,p1,p2,pp,s,ss,sss,lru,pref; sint b,j,lgmin,lgmax,x1,x2,b1,b2,k,k1,k2,lg,lg1; vector fact,listn; char tr[128]; int w[128]; ofstream result,lresult; void buildfact() {sint kk,n,nn,n1; bool ok; fact.push_back(2);fact.push_back(3);fact.push_back(5); nn=1;n1=factl; for(lg1=0;nnnn)break;} } } bool ok(unsigned long long int n) // is prime? {sint kk; if (n<2) return false; for (kk=0;fact[kk]*fact[kk]<=n;kk++) {if(n % fact[kk]==0)return false;} return true; } sint gcd(sint a,sint b) {if(b==0)return a; return gcd(b,a%b); } int main(int argc, char *argv[]) {int i,c,x,n; string bs,com; bs=argv[1]; b=atoi(argv[1]); for(char c='0';c<='9';c++){w[c]=0+c-'0';tr[0+c-'0']=c;} for(char c='A';c<='Z';c++){w[c]=10+c-'A';tr[10+c-'A']=c;} for(char c='a';c<='z';c++){w[c]=36+c-'a';tr[36+c-'a']=c;} buildfact(); s=argv[2]; for(i=0;i>p) {lresult.open(lru.c_str(),ios::app); lresult<=0){if(b1!=1) {result<<"ABC ("<brol"; system(com.c_str()); } } // fin main