Accep the challenge 50!

This is a discussion on Accep the challenge 50! within the Contests Board forums, part of the Community Boards category; Find 50! , that is 50x49x48x....x1 or maybe 150! ???? Do the code and we'll check de number. (Code not ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Location
    Mexico City
    Posts
    33

    Accep the challenge 50!

    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.

  2. #2
    Registered User
    Join Date
    Jul 2007
    Posts
    131
    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.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Location
    Mexico City
    Posts
    33

    OK!!!

    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.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,941
    Quote Originally Posted by Gustaff
    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?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    Nov 2001
    Location
    Mexico City
    Posts
    33
    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.

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,673
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    Registered User
    Join Date
    Nov 2001
    Location
    Mexico City
    Posts
    33
    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.

  8. #8
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    If it wasn't the Summer holidays I'd say this smells like homework to me...

  9. #9
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Quote Originally Posted by Fordy View Post
    If it wasn't the Summer holidays I'd say this smells like homework to me...
    Depends where you are in the world... Certainly not summer, nor holidays here

  10. #10
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,673
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  11. #11
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,941
    Quote Originally Posted by Gustaff
    Just asking... do you have any contest in mind?
    Since you are just asking trivia questions, go improve your search skills and ask a search engine.

    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.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  12. #12
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Quote Originally Posted by zacs7 View Post
    Depends where you are in the world... Certainly not summer, nor holidays here
    Ah yeah... I didnt really think that through, did I?



  13. #13
    Registered User
    Join Date
    Jul 2010
    Posts
    55
    These questions sound like those of Project Euler's...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need help with arrays!
    By lil3thunder in forum C++ Programming
    Replies: 4
    Last Post: 12-01-2009, 12:40 PM
  2. allegro problem : /
    By bada in forum Game Programming
    Replies: 4
    Last Post: 03-30-2008, 10:08 AM
  3. Issue w/ Guess My Number Program
    By mkylman in forum C++ Programming
    Replies: 5
    Last Post: 08-23-2007, 01:31 AM
  4. Requesting a challenge
    By RealityFusion in forum C++ Programming
    Replies: 8
    Last Post: 08-18-2003, 08:24 PM
  5. Please help debug this lab! Please!
    By mack_ol in forum C Programming
    Replies: 0
    Last Post: 02-17-2002, 11:32 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21