Search found 10 matches

by Kamanashish
Sun Feb 27, 2005 3:03 pm
Forum: Off topic (General chit-chat)
Topic: What is ur minimum time to generate prime in 20000000 ?
Replies: 28
Views: 10563

Sorry mohiul.

Sohel told you his time, but u didnot belive it and told him for real one.
Now if i tell u my time then u may also not belive my time. So....

:o
by Kamanashish
Sun Feb 27, 2005 2:47 pm
Forum: Off topic (General chit-chat)
Topic: What is ur minimum time to generate prime in 20000000 ?
Replies: 28
Views: 10563

Hi Mohiul.

Why r u so sure that the time of sohel is not real .
by Kamanashish
Wed Jun 23, 2004 5:30 pm
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 45142

160 WA help plz.

I got WA.PLZ help.

#include<stdio.h>
#include<math.h>

long a[110];

void FF(long x)
{

long c;


c=2;
while(1)
{
while(1)
{
if(x%c==0)
{
a[c]++;
x=x/c;
}
else break;
}

if(x==1)break;

if(c>=sqrt(x))
{
a[x]++;
break;
}


c++;

}
}

void main()
{
long n,i,j;
while(scanf("%ld ...
by Kamanashish
Tue Jun 15, 2004 4:11 pm
Forum: Volume 105 (10500-10599)
Topic: 10533 - Digit Primes
Replies: 108
Views: 47619

Thanks Rajib. At last i have got AC.
by Kamanashish
Mon Jun 14, 2004 2:57 pm
Forum: Volume 105 (10500-10599)
Topic: 10533 - Digit Primes
Replies: 108
Views: 47619

10533 - Digit Primes

I can not understand what is the wrong with it.Have there any critical input?


//Cutted
by Kamanashish
Sat Jun 12, 2004 2:12 pm
Forum: Volume 3 (300-399)
Topic: 392 - Polynomial Showdown
Replies: 93
Views: 31640

392-Anybody help me?

I have got WA.


#include<stdio.h>
void main ()
{
int a[9],i,first,position;
while(scanf("%d",&a[0])!=EOF)
{
for(i=1;i<9;++i)
scanf("%d",&a );

first=0;
position=8;
for(i=0;i<9;++i)
{
if(a ==0){position--;continue;}
if(a !=0)
{
if(first==0)
{
if(position==0){printf("%d",a ...
by Kamanashish
Wed Mar 17, 2004 4:00 pm
Forum: Volume 5 (500-599)
Topic: 541 - Error Correction
Replies: 27
Views: 16763

541 Why WA?

Cut
by Kamanashish
Fri Mar 05, 2004 8:19 am
Forum: Volume 102 (10200-10299)
Topic: 10235 - Simply Emirp
Replies: 150
Views: 51178

10235 Why WA.

CUT
by Kamanashish
Tue Feb 10, 2004 2:03 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 69482

10062 Why wrong answer?

I got wrong answer. Can somebody check my code.

[cpp]
The code is removed.
[/cpp]
by Kamanashish
Wed Dec 17, 2003 3:20 pm
Forum: Volume 4 (400-499)
Topic: 499 - What's The Frequency, Kenneth?
Replies: 93
Views: 20687

499 What's the frequency Kenneth

Hi, i am getting RTE(SIGSEGV), please help.
[cpp]
CUT
[/cpp]

Go to advanced search