[algogeeks] Re: largest number bitwise contest
why there is a space in scanf()s ???
[algogeeks] Re: largest number bitwise contest
But... Bitwise uses Linux based gcc! So %lld should work there!
[algogeeks] Re: largest number bitwise contest
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
This was a bit surprising for me... For this question... scanf,printf combination failed. cin,cout succeeded.
[algogeeks] Re: largest number bitwise contest
what's the type definition of max? integer or long long? change it to cout<