try your heads on this

This is a discussion on try your heads on this within the A Brief History of Cprogramming.com forums, part of the Community Boards category; hi peepl thought i'd give you peepl a puzzle to ponder over (if you've heard this already pls let other ...

  1. #1
    Registered User jasrajva's Avatar
    Join Date
    Oct 2001
    Posts
    99

    Lightbulb try your heads on this

    hi peepl

    thought i'd give you peepl a puzzle to ponder over
    (if you've heard this already pls let other people bend their minds ok you can pm me the solns)

    ok here we go

    once upon a time-space
    there lived superintelligent beings on a Planet called Cprog
    on sunday in a church on the island of tutu the priest made a declaration

    he said:

    among those of you who have gathered here are some sinners
    on their heads a mark will appear
    this mark may not be seen by the person who has it on his/her head
    but evryone can see the mark on any other person

    as soon as any one of you with the marks comes to know that he/she has it, they should stop coming to church

    and all of you shall come to this church everyday until all the sinners have left

    finally no one shall tell any other if the other has a mark

    the priest went away and the people followed

    after a week none of the people with the mark were left

    can you tell me how many people had the mark initially


    jasraj

  2. #2
    back? dbaryl's Avatar
    Join Date
    Oct 2001
    Posts
    597
    How about one - the priest


  3. #3
    Registered User jasrajva's Avatar
    Join Date
    Oct 2001
    Posts
    99
    no thats not possible
    the logic is much more involved
    and i can prove that its not the priest alone
    but if i give the proof here then i'll give out a very big hint
    so..

  4. #4
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    All of them
    Blue

  5. #5
    Registered User jasrajva's Avatar
    Join Date
    Oct 2001
    Posts
    99
    this thing really has 'some ' logic behind it ok

    and any more answers should end with a QED i want proof peepl not guesses

  6. #6
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    Assuming someone had a mark because they are sinners (which most pentecostal believe everyone are sinners and would have marks in this case), then the only way they would know that they had a mark is if some one told them.

    If someone told them, then that person too has sinned and would gain a mark. This would lead to all of them leaving too.

    I don't know... this is my best shot at it right now.

    I can't wait to hear the answer to this. PM me and let me know so you don't ruin it for others.
    Blue

  7. #7
    Registered User jasrajva's Avatar
    Join Date
    Oct 2001
    Posts
    99
    well nice try but lemme put more words into the priests mouth to cut that answer out
    all those who squeel will turn into stone and will permanently remain in the church

    apart from that why did it take them all a week to figure out????

    think peepl think
    ive just given you a huge clue

  8. #8
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    523
    all the people who are sinners lied to non-sinners saying they had marks when they didn't, the sinners then turned to stone so couldn't go back to church(lucky for them).
    thats my theory.

    except they are in the church anyway so that wouldn't work, damm.

    or maybe they did lie in church then turn to stone then it took the non-sinners a week to carry them out.
    Last edited by C_Coder; 11-01-2001 at 12:09 PM.
    All spelling mistakes, syntatical errors and stupid comments are intentional.

  9. #9
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    Dammit... I am tired of trying. All of us at work have been thinking about it. We cannot figure it out.
    Blue

  10. #10
    Registered User jasrajva's Avatar
    Join Date
    Oct 2001
    Posts
    99
    ok give you a hint beta..

    think
    principle of mathematical induction

  11. #11
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    I just keep thinking that it is cool that you live in India...
    Blue

  12. #12
    Registered User jasrajva's Avatar
    Join Date
    Oct 2001
    Posts
    99
    why is that

    (try selling that idea to anyone here)
    its november and still 35*C
    some one send me an AC..

  13. #13
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    If you have the mark and can not see it, presumably you can not know you have it.

    Furthermore, if no one that can see it can indicate to you that you have it and there is again, no loophole, then you again can not know you have it.

    Since no other way of knowing presents itself, then no one discovered they had the mark.

    If no one with the mark came to church the next week, then all cprogrammers were holy and without sin. 0 had the mark. Yeah right.

    ?

    -Justin
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  14. #14
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    *puts a golden crown upon Justin's head*

    Thou beith holy for thou hath defineth this solution to this riddle.

    *smashes a chair of Justin's bacl*

    Thou wast named after a backstreet boy! Blasphemy!


    .....remember from Monty Python and The Holy Grail?
    "What do we burn with ... Backstreet Boys?"
    "more ... Backstreet boys!"

  15. #15
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Aye, 'tis my curse. *sniffle*
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

Page 1 of 5 12345 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sorted Linked List with multiple heads.
    By S15_88 in forum C Programming
    Replies: 2
    Last Post: 03-22-2008, 11:01 PM
  2. Something about probablility
    By mike_g in forum A Brief History of Cprogramming.com
    Replies: 116
    Last Post: 03-13-2008, 05:33 PM
  3. Two Heads Better Than One
    By Dagger in forum Game Programming
    Replies: 32
    Last Post: 02-08-2006, 12:00 AM
  4. Cant Make heads or tails of .h files
    By D3T in forum C++ Programming
    Replies: 4
    Last Post: 07-09-2002, 10:03 AM

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