Search found 8 matches

by mainul07
Sat Oct 13, 2012 1:32 pm
Forum: Off topic (General chit-chat)
Topic: Big integer.
Replies: 1
Views: 30425

Big integer.

How to handle big integer using one string please help me with a simple program.
by mainul07
Sat Oct 13, 2012 1:24 pm
Forum: Off topic (General chit-chat)
Topic: Recursive binary search related
Replies: 2
Views: 30978

Re: Recursive binary search related

Wow that's great it works after modify..tnx
by mainul07
Tue Oct 09, 2012 9:01 am
Forum: Off topic (General chit-chat)
Topic: Recursive binary search related
Replies: 2
Views: 30978

Recursive binary search related

#include<iostream>
using namespace std;
int binsrch(int a[20],int i,int l,int x)
{
int mid;
if(x=a[mid])
{
cout<<mid;
}
else if(x<a[mid])
{
cout<<binsrch(a,i,mid-1,x);
}
else
{

cout<<binsrch(a,mid+1,l,x);

}
}
int main()
{
int a[20],n,i,j,l,x,mid;
cout<<"Enter the dimension:";
cin ...
by mainul07
Sun Oct 07, 2012 12:38 pm
Forum: Off topic (General chit-chat)
Topic: Wordpress plugins....
Replies: 2
Views: 29834

Wordpress plugins....

Hello friends. I want your help very badly. I need a galler plugins using which I can show my images of a post in a gallery. But the feauture I am looking for is, I need a gallery plugin which will change ad block with the images everytime.

I want something similar like any of these
http://www ...
by mainul07
Sat Oct 06, 2012 11:21 am
Forum: Volume 1 (100-199)
Topic: 136 - Ugly Numbers
Replies: 156
Views: 41948

Re: Ugly Number(136)

Thanks :)
by mainul07
Sat Oct 06, 2012 11:03 am
Forum: Volume 9 (900-999)
Topic: 900 - Brick Wall Patterns
Replies: 16
Views: 11822

Uva Problem 900

#include<iostream>
using namespace std;
int main()
{
long long int n,i,a[100000];
while(cin>>n)
{
if(n==0)
break;
a[1]=1;
a[2]=2;
for(i=3;i<=n;i++)
a[i]=a[i-1]+a[i-2];
cout<<a[n]<<endl;
}
return 0;
}


It show time limit exceded please help me ... :wink:
by mainul07
Fri Oct 05, 2012 5:24 pm
Forum: Volume 1 (100-199)
Topic: 136 - Ugly Numbers
Replies: 156
Views: 41948

Ugly Number(136)

#include<stdio.h>
unsigned long findmin();
unsigned long temp[3];
int main()
{
unsigned long store[3];
unsigned long result[1500];
int i,j,n;
unsigned long receive;
result[1]=1;
for(i=0;i<3;i++)
store =1;
for(i=2;i<=1500;i++)
{
temp[0]=result[store[0]]*2;
temp[1]=result[store[1]]*3;
temp[2]=result ...
by mainul07
Fri Oct 05, 2012 1:56 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108923

Re: 101 , Code in C++, Runtime error

Your program can not get any input....modify it than it will work and Runtime error will overcome :-?

Go to advanced search