hi
you can compile and execute for yourself,
$./a.out
Enter number: 5 120
$./a.out
Enter number: 4 24
On Wed, 25 Sep 2002, Trevor Warren wrote:
trevor > trevor > --- ranjeet@nttindia.com wrote: trevor > > > ---- start ---- trevor > > > #include <stdio.h> trevor > > > trevor > > > #define l11l 0xFFFF trevor > > > #define ll1 for trevor > > > #define ll111 if trevor > > > #define l1l1 unsigned trevor > > > #define l111 struct trevor > > > #define lll11 short trevor > > > #define ll11l long trevor > > > #define ll1ll putchar trevor > > > #define l1l1l(l) l=malloc(sizeof(l111 trevor > > llll1));l->lll1l=1-1;l->ll1l1=1-1; trevor > > > #define l1ll1 *lllll++=l1ll%10000;l1ll/=10000; trevor > > > #define l1lll trevor > > trevor > ll111(!l1->lll1l){l1l1l(l1->lll1l);l1->lll1l->ll1l1=l1;}\ trevor > > > lllll=(l1=l1->lll1l)->lll;ll=1-1; trevor > > > #define llll 1000 trevor > [snip] trevor > This thread is getting interesting. Can someone trevor > highlight me as to what is the above code all about. trevor > trevor > trevor > Trevor trevor > trevor > > > trevor > > > trevor > > > trevor > > > trevor > > > trevor > > l111 llll1 { l111 trevor > > > llll1 * trevor > > > lll1l,*ll1l1 ;l1l1 trevor > > lll11 lll [ trevor > > > llll];};main (){l111 llll1 trevor > > *ll11,*l1l,* l1, trevor > > > *ll1l, * malloc ( ) ; l1l1 ll11l trevor > > l1ll ; ll11l trevor > > > l11,ll ,l;l1l1 lll11 *lll1,* lllll; trevor > > ll1(l =1-1 ;l< trevor > > > 14; ll1ll("\t"8)>l"9!.)>vl" [l]^'L'),++l trevor > > > );scanf("%d",&l);l1l1l(l1l) l1l1l(ll11 ) trevor > > (l1=l1l)-> trevor > > > lll[l1l->lll[1-1] =1]=l11l;ll1(l11 trevor > > =1+1;l11<=l; trevor > > > ++l11){l1=ll11; lll1 = (ll1l=( trevor > > ll11=l1l))-> lll; trevor > > > lllll =( l1l=l1)->lll; trevor > > ll=(l1ll=1-1 trevor > > > );ll1(;ll1l-> lll1l||l11l!= trevor > > *lll1;){l1ll trevor > > > +=l11**lll1++ ;l1ll1 ll111 trevor > > (++ll>llll){ l1lll trevor > > > lll1=( ll1l =ll1l-> trevor > > lll1l)->lll; trevor > > > }}ll1(;l1ll; ){l1ll1 ll111 trevor > > (++ll>=llll) { trevor > > > l1lll} } * lllll=l11l;} trevor > > > ll1(l=(ll=1- 1);(l<llll)&& trevor > > > (l1->lll[ l] !=l11l);++l); trevor > > ll1 (;l1;l1= trevor > > > l1->ll1l1,l= llll){ll1(--l trevor > > ;l>=1-1;--l, trevor > > > ++ll)printf( (ll)?((ll%19) trevor > > ?"%04d":(ll= trevor > > > 19,"\n%04d") ):"%4d",l1-> trevor > > lll[l] ) ; } trevor > > > trevor > > ll1ll(10); } trevor > > > ---- end ---- trevor > > > trevor > > > trevor > > > _______________________________________________ trevor > > > trevor > > http://mm.ilug-bom.org.in/mailman/listinfo/linuxers trevor > > trevor > > trevor > > trevor > > trevor > > _______________________________________________ trevor > > http://mm.ilug-bom.org.in/mailman/listinfo/linuxers trevor > > trevor > trevor > trevor > ===== trevor > ( >- GNU/LINUX, It's all about CHOICE -< ) trevor > /~\ __ http://www.qmailtheeasyway.com __ /~\ trevor > | ) / mailto: trevor.w@media.mit.edu \ (/ | trevor > |_|_ \ Research Asst, MediaLab / _|_| trevor > ___________________________________/ trevor > trevor > __________________________________________________ trevor > Do you Yahoo!? trevor > New DSL Internet Access from SBC & Yahoo! trevor > http://sbc.yahoo.com trevor > trevor > _______________________________________________ trevor > http://mm.ilug-bom.org.in/mailman/listinfo/linuxers trevor > trevor >