define isprime(c) { auto i,root; if (c == 1) return (0); if (c == 2) return (0); if (c%2 == 0) return (1); root=1+sqrt(c); i=3; while (i