Search found 18 matches

by bijon
Sat Jun 18, 2005 2:26 pm
Forum: Volume 106 (10600-10699)
Topic: 10650 - Determinate Prime
Replies: 67
Views: 25358

why i am getting wrong answer using this code?. #include<stdio.h> #include<math.h> #include<iostream> #define _swap(a,b,c){ c=a;a=b;b=c;} #define size 33001 using namespace std; int siv[ size ] = { 0 }; int arr[ 100 ]; void Siv() { int i,j,l; for(i = 4;i<size;i+=2) siv[ i ] = 1; l=sqrt(size); for(i=...
by bijon
Tue Jun 07, 2005 7:38 pm
Forum: Volume 107 (10700-10799)
Topic: 10709 - Intersection is Not that Easy
Replies: 41
Views: 9544

I cannot find error in my code.
:( please give some input and output data.
by bijon
Tue Jun 07, 2005 7:29 pm
Forum: Volume 107 (10700-10799)
Topic: 10709 - Intersection is Not that Easy
Replies: 41
Views: 9544

I cannot find the bug of my code.
please give some input and output data.[/b]

Go to advanced search