Search found 1 match

by nalb
Wed Jul 09, 2008 1:18 am
Forum: Volume 104 (10400-10499)
Topic: 10490 - Mr. Azad and his Son!!!!!
Replies: 20
Views: 14162

10490 - Mr. Azad and His Son!!!!!

HEEEELLP !!I send my code :

#include <stdio.h>
#include <math.h>
bool V[46344];
int main()
{
for(int i=2;i<=46342;i++)
V[i]=1;
for(int i=2;i*i<=46342;i++)
{
if(V[i]==1)
{
for(int j=i;i*j<=46342;j++)
V[i*j]=0;
}
}
unsigned long h;
long long k;
int n;int sw;
while(true)
{
scanf("%d ...

Go to advanced search