Find 50! , that is 50x49x48x....x1 or maybe 150! ????
Do the code and we'll check de number.
(Code not made in C++.)
Printable View
Find 50! , that is 50x49x48x....x1 or maybe 150! ????
Do the code and we'll check de number.
(Code not made in C++.)
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?
Are you really trying to create a contest, or are you just asking trivia questions?Quote:
Originally Posted by Gustaff
Just asking... do you have any contest in mind?
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.
Answer the question or post your code.
If it wasn't the Summer holidays I'd say this smells like homework to me...
LOL - demands to do homework.
Since you are just asking trivia questions, go improve your search skills and ask a search engine.Quote:
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.
These questions sound like those of Project Euler's...