I have 2 int variables whose product is not in the range of int.
So,I multiplied both and assigned it to a long long variable.But when
i print the long long variable it shows a garbage value.
Ex-
int abc=99999998;
int def=1500;
long long int po=abc*def;
cout<<po<<endl;
Output-
-323858360
Someone please reply asap, need it to debug my code for codejam.
--
You received this message because you are subscribed to the Google Groups "DS & Algo@itbhu" group.
To post to this group, send an email to
ds--al...@googlegroups.com.
To unsubscribe from this group, send email to
ds--algoitbh...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/ds--algoitbhu?hl=en-GB.