Results of Comment Search

Search:    Place:    Show:

Title User Message Date Posted
Re: String wgma00 Not necessarily, there is a simpler solution just needs a little bit of research. Jul 14, 2014 - 12:48:59 pm UTC
String Hzhang Does this problem use strings? Becuase i'm certain 500 factorial is way larger than the maximum integer in C++ or any other language (only worked with c++ and pascal so don't know) Jul 14, 2014 - 2:05:50 am UTC
Re: Help jargon 500! has 1135 digits. In C++, a "long int" is the same as an "int", and they both hold up to 9 digits plus a little bit more. Even a "long long int" only holds just over 18 digits. You won't be able t... Nov 01, 2013 - 8:06:55 pm UTC
Re: Help dip Would a long int work then? Nov 01, 2013 - 7:13:36 pm UTC
Re: Help bbi5291 You're overflowing the int you use to compute the factorial. Nov 01, 2013 - 5:41:55 am UTC
Help dip My code works for the first 4 sample test cases but not for the 5th one. What am I doing wrong... Oct 31, 2013 - 11:53:10 pm UTC
Re: length fuction? SourSpinach There is no length function for an integer (it can be done manually though, using a loop). However, even the biggest type of integer in C++ can only store about 18 digits, while 52! has 68, so you'll... Dec 15, 2008 - 12:08:22 am UTC
Re: length fuction? qinhaotian There's length of a string but think about how large the integer of 52! would be... Dec 15, 2008 - 12:03:15 am UTC
Re: length fuction? taimla101 I doubt that the length function will help you on this problem Dec 14, 2008 - 11:14:29 pm UTC
length fuction? purohit3105 I am learning c++ and I want to know if there is a length fuction in c++ which will give me the length of the number. thanks. PS I tried to look for ir but it didn't help..:( Dec 14, 2008 - 11:05:34 pm UTC