[algogeeks] Re: largest number bitwise contest

2006-02-13 Thread Abhi
why there is a space in scanf()s ???

[algogeeks] Re: largest number bitwise contest

2006-02-11 Thread Prunthaban Kanthakumar
But... Bitwise uses Linux based gcc! So %lld should work there!  

[algogeeks] Re: largest number bitwise contest

2006-02-11 Thread phoenixinter
this is not surprising at all... for windows gcc compiler printf("%lld",max); if max is a long long type value it will fail you must use printf("%I64d",max);

[algogeeks] Re: largest number bitwise contest

2006-02-10 Thread Prunthaban Kanthakumar
This was a bit surprising for me... For this question... scanf,printf combination failed. cin,cout succeeded.  

[algogeeks] Re: largest number bitwise contest

2006-02-10 Thread phoenixinter
what's the type definition of max? integer or long long? change it to cout<