Find 50! , that is 50x49x48x....x1 or maybe 150! ????
Do the code and we'll check de number.
(Code not made in C++.)
Find 50! , that is 50x49x48x....x1 or maybe 150! ????
Do the code and we'll check de number.
(Code not made in C++.)
If you want to be happy one hour: take a nap
if you want to be happy one day: go fishing
If you want to be happy a year: inherit a fortune
if you want to be happy for a life time: HELP SOMEBODY
chinisse say.
50! = 30414093201713378043612608166064768844377641568960 512000000000000
150! = 57133839564458545904789328652610540031895535786011 26418254837583317982912484539839312657448867531114 53771078787468542041626662501986845044663559491959 22066574942592095735778929325357290444962472405416 79072211844543712226967552000000000000000000000000 0000000000000
14 bytes for 50! and 15 for 150!. I may post the code if OP tells what's the point in this if this isn't some ridiculous sort of homework.
Is it possible for the knigth to visit all the squares of the chess board just once?
and, if so how?
If you want to be happy one hour: take a nap
if you want to be happy one day: go fishing
If you want to be happy a year: inherit a fortune
if you want to be happy for a life time: HELP SOMEBODY
chinisse say.
Are you really trying to create a contest, or are you just asking trivia questions?Originally Posted by Gustaff
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Just asking... do you have any contest in mind?
If you want to be happy one hour: take a nap
if you want to be happy one day: go fishing
If you want to be happy a year: inherit a fortune
if you want to be happy for a life time: HELP SOMEBODY
chinisse say.
Just google "programming contest" and you'll find no end of sites with hundreds (nay, thousands) of problems.
Enough to keep you sated for years.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Answer the question or post your code.
If you want to be happy one hour: take a nap
if you want to be happy one day: go fishing
If you want to be happy a year: inherit a fortune
if you want to be happy for a life time: HELP SOMEBODY
chinisse say.
If it wasn't the Summer holidays I'd say this smells like homework to me...
LOL - demands to do homework.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Since you are just asking trivia questions, go improve your search skills and ask a search engine.Originally Posted by Gustaff
If you want to post a contest instead, search the older threads in this forum for ideas of contest formats. Come up with reasonable and clear rules, along with judging criteria.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
These questions sound like those of Project Euler's...