[algogeeks] Re: imporatnt(need help)

2011-04-26 Thread Veenus Gupta
#include using namespace std; string rev(string s) { for(int i=1,j=s.size()-1;i wrote: > For more solutions, you can find > herehttp://www.topcoder.com/stat?c=round_overview&er=5&rd=14433 > > > 2011/4/27 abhishek jain > > > > > > >

[algogeeks] Re: first larger element in unsorted array...

2011-02-01 Thread Veenus Gupta
#define N 7 int main() { int a[N]={1,3,5,7,6,4,8}; int m[N]; m[N-1]=-1; for(int i=N-2;i>=0;i--) { if(a[i]<=a[i+1]) m[i]=a[i+1]; else m[i]=m[i+1]; } for(int i=0;

[algogeeks] Re: Invitation for CodeCracker'11 , Online Coding Competition

2011-02-01 Thread Veenus Gupta
hey , pass-out students are allowed in this competition On Feb 1, 1:18 pm, Navin Agarwal wrote: > Hi all, > > It is with immense pleasure that we announce CodeCracker > '11scheduled during > Mukti , The Annual FOSS Symposium of NIT Durgapur, India. > T