Jump to content
BrainDen.com - Brain Teasers


Popular Content

Showing content with the highest reputation since 11/11/16 in all areas

  1. 1 point
    We're being intruded by migrants secluded Who stowaway past our frontier They're costing us green and will linger unseen Unless I should get into gear Their nature I'll dredge as I perch on a ledge And twisting the truth's my endeavor Exposed to the nation, and next: deportation They thought they'd endure thus forever? I promise the answer has nothing to do with politics
  2. 1 point
    Player A has one more coin than player B. Both players throw all of their coins simultaneously and observe the number that come up heads. Assuming all the coins are fair, what is the probability that A obtains more heads than B?
  3. 1 point
    (BR / BL +UR) UL Thus... (8/4 +2) 3= 12 (2/1 + 6) 4= 32 (9/3 +4) 2= 14 and for the last one.. (6/2 +3) 5 = 30
  4. 1 point
    On my phone, I see a link on each post that says "quote". I can sort of copy and paste the roster on phone but as I found out last game, the cursor had an unfortunate habit of moving... Spoilers and colors on phone have to be done with the [ ] codes. Spoiler: {spoiler}your text here{/spoiler} with [ ] instead of { }. No spoiler titles. Colors: {color=red/orange/whatever}text here{/color} also with [ ] instead of { }.
  5. 1 point
    Roster: 1. maurice 2. Flamebirde 3. Molly Mae 4. 5. 6. Hirkala 7. bonanova 8. 9. 10. Roster: 1. maurice 2. Flamebirde 3. Molly Mae 4. 5. 6. Hirkala 7. bonanova 8. 9. 10. Mafia!!! Been too long! I don't know if I was supposed to leave it doubled, but I did. Hi, everyone!
  6. 1 point
    UN Mafia III Secret Alliance: Wincon - Last standing China -- The size of the country allowed it to send a replacement for the representative lost in the previous game. Each night chooses a player to target and remove from the game. Action is unstoppable except via save. Will use its electronic interception technologies to find out the identity of the target if target is saved. Once during the game (ODTG) can remove a vote. UN Alliance: Wincon - Last standing. USA -- The size of the nation and its offensive capabilities, demand it acts but not two nights in a row. Chooses to invade (kill) on even or odd nights at the beginning of the game. Must invade on said night, if no target is drawn it is randomly selected (cannot invade self). Germany -- Its economic influence grows steadily which leads to an increase in political influence. Sometimes is forced to save nations in dire need, but would prefer preventing actions. Each night can save a player but there's a 50% chance that this backfires in which case Germany loses its vote the next day. Russia -- Has hundreds of satellites floating in space. Can use one per night to spy an alive nation either to see who targeted it or to see who that nation acted upon. Once during the game (ODTG) Russia can instead get lucky and find out a player's true role. United Kingdom -- Has worldwide influence among its former colonies. Once per night it can blockade a country, but not the same country twice in a row. Blockading stops any day or night action except for ODTG actions and the Secret Alliance's night invasion. Australia -- Has an interesting choice of possibilities due to its cultural diversity. Has 4 agents at its disposal, each can be used once: 1. Add 1 extra secret vote, 2. Remove a vote, 3. Protect (save but cannot be cast on self), 4. Break quarantine (used during the day can make the player quarantined by Sweden able to vote and be voted for). Indy Sweden -- A nation with nothing to contribute to war and naturally inclined to peace. From time to time, may choose to temporarily side with a Faction or the other, in order to protect its own interests. Each night can quarantine a country but not the same twice in a row. Quarantine acts like a trap - saves from kills / invasions and renders the target neutral - unable to vote the next day or be voted for (but can speak). Once during the game (ODTG) can veto out a country (RID Kill) at any point during the day or the night, but will forfeit acting the next night if that happens. Sweden cannot die N1 (NK attempt won't appear in the NP). Wincon: Outlive two secret countries and the Secret Alliance. Stops game if successful. Must be alive at the beginning of the next phase in order for "outlive" to be counted. Secret targets are drawn at the beginning of the game and are known only to Indy. Rules * NP shows invasions (kill), protections (saves) and quarantines (trap). * DP shows lynched players (no hint if the vote was manipped. * Tie: D1 no lynch, D2+ all players in tie are lynched. * OOA: Night invasion (kill) >> Blockade (block) > Quarantine (trap) > Protect (save) > Regular invasion > Spy * Blockade / Quarantine will be told to the players regardless if they had an action that was blocked or not * Regular invasion can be blocked, the SA night invasion cannot be blocked, only saved from * Sweden's ODTG RID veto cannot be blocked or saved from as it happens instantly Players: 1. Thalia 2. bonanova 3. Molly Mae 4. Flamebirde 5. maurice 6. MikeD 7. plasmid Backups: 8. 9. Roles are out, Night 1 ends Monday Feb 20th at 9 PM UTC (About UTC). That means 4 PM EST and 11 PM for me.
  7. 1 point
  8. 1 point
    If it makes you feel any better, I had you and Molly as Germany and Russia before the mass outing. Thought bonanova sort of claimed Australia earlier but figured if the US killed him I'd be better off whether he was Australia or China. He seemed like the biggest threat to me with his day actions. If maurice had removed a vote besides flamebirde's, it would have been a tie and I wouldn't have even got the chance to use my RID kill. When I was first reading through, I didn't realize you were expecting me to kill Molly. Got a bit of a laugh from that. So the biggest thing the mass outing accomplished was it made sure you got China. If you had lynched fb, I would have RID killed maurice which would have been blocking. I did get really lucky with bonanova getting the UK lynched D1 so thanks for that. On another note, I came extremely close to not acting at all N2 to try to frame plasmid as Sweden. Might have given mo's claim more credibility with neither Sweden nor China showing... So now that I know asking won't get me killed, what's a PGP public key block? And where were those soft claims?
  9. 1 point
    Hey guys, sorry I'm here. Didn't realize I could talk when I was trapped and then I'm having issues accessing the site on my phone. I'm on through Firefox now and it works better than Chrome I guess. I will catch up at lunch and see what I can contribute, hopefully before the night ends in case I was mercy/mod killed.
  10. 1 point
    @Thalia Understand, (with apologies to the players.) Hanlon's Razor. Seriously, what do we know about maurice?
  11. 1 point
    Taps watch. Oops. RIP MikeD. Would love to hear from maurice.
  12. 1 point
    Night 1: Once more unto the breach. Once more? ~~~~~ Seven people awoke at the same time to find themselves in a dimly lit room. A round doughnut table with chairs was in the center of the room. Most of them were dressed informally and as they surveyed their surroundings some tried to remember where there were the previous day. Yeah, everybody pretty much wanted an explanation for their presence there. Some had heard rumors of experiments in previous years and some had witnessed them but memories were fickle at best. And most had refused to believe something like this could happen to them (again). As rumors were passed in whispers from one another the chatter increased across the room. A flash and a hooded figure appeared in a mist in the center of the round table, surrounded by a cone of light. "If you can have a seat, I'm sure we can find a way to answer your questions as quick as possible. Some of you might already know where I'm going with this ... but I'm afraid that lessons were not learned, so he we are again.", they heard from the figure. One by one they moved towards the table, eyes cast on the figure. "Sometime ago, after being fed up with your reckless messing with forces beyond your control, I've attempted to ... mend the ends so to speak. While it worked for a little while, the situation has taken a turn for the worse recently and I find myself again unable to stand idly and watch. So hear me out!". "You are playing for your lives and your nations interests as well. Out of this room, you'll find color coded rooms. Don't mind the empty rooms. Inside your room you will each find a safe that only opens with your fingerprints and iris scans. Inside the safe an envelope with instructions. Study them wisely and remember time is scarce. Also, nothing exists outside of these rooms unless I tell you. We’ll adjourn in the morning!" The Hooded Figure disappeared without a sound and the doors squeaked open by themselves. One by one, they retreated to find their quarters. ~~~~~ The Secret Alliance member was watching his target from across the bar. As he watched his target order another round of drinks he sighed. "Yet another Bond". He left the bar twenty seconds after his target and walked towards faking a dizzy step along the way. As Plasmid stopped at his door and glanced over the shoulder, all he saw was someone trying to find balance. Key in door, he heard the blip from the door opening followed by the crush of a body against the floor. "Are you OK buddy?" he asked turning around slowly ... but as his eyes began to take in the sight he felt a tingling in his neck. As his hand tried to reach up towards the place his brain wanted investigated, his own brain played a trick on him. It surely wasn't that big of a ... he fought to finish that thread of thought as he collapsed to the floor, caught by hands that muffled the sound. His body was not to be found till morning. ~~~~~ The Swede had studied all the things the Hooded Figure had provided him with and pondered his odds. He had to be subtle about it, cause no one actually wants peace with both arms open. He went off the corridors and to the fifth room on the corridor. Cautiously he sprayed the content of one of the vials in his toolkit to the doorknobs and heard a small puff as the metal liquified. Maurice won't be joining tomorrow's talks. Except via Skype but that wasn't counting as present nowadays. ~~~~~ Tl;dr version: ~~~~~ Players: 1. Thalia 2. bonanova 3. Molly Mae 4. Flamebirde 5. maurice - quarantined by Sweden 6. MikeD 7. plasmid - Invaded N1 by China Day 1 ends Wednesday Feb 22nd at 9 PM UTC (About UTC). That means 4 PM EST and 11 PM for me.
  13. 1 point
    I was thinking more like 7 = 1 baddie vs 5 goodies vs 1 indy, hosted 2 Mafias the same size recently so I'm pretty sure I can balance it in a classical setting. If no one signs up till Friday night, I'll trim it, send out the roles and N1 can end Monday. The individual wincons can't be balanced for a trimmed version unfortunately. Anyone leaving the game would make it lopsided and I don't see enough ideas of individual wincons to make a miracle in-game balance for events. But I guess I can run it again in the future as a redux of the OP if there are more people interested during the summers for example. So, all is not lost. I'd rather have you play since you all showed up and signed up
  14. 1 point
    Real life: I bought (very cheep) a 256MB extension card for a 80286. There were 8 dip switches and no manual. I do not know how many times each switch can be flipped, in any case, it is better to minimize the manipulation. Look https://en.wikipedia.org/wiki/Gray_code
  15. 1 point
    Note : A # B = A*10 + B Arrange the numbers 1 to 9 to green triangles, and arrange operator (+,-,x,/,^, and #) to the white triangles, so the math operations below are equals. (((A op1 B) op2 D) op4 F) = constant (((F op4 G) op5 H) op6 I) = constant (((I op6 E) op3 C) op1 A) = constant A x F x I = constant
  16. 1 point
    Around World Series time recently, (that's the American baseball championships for our international Denizens) I asked the question, dressed as a probability puzzle, "Given that you could pick one of the best-of-seven games in the series that you could guaranty to win, which game would that be? I even flavored the question with the opinions of experts that the pivotal games are often taken to be game 3 or game 5, as statistically these games correlated well with the eventual winner. And many responded with one of those choices for their answers. But the correct answer of course is game 7. (Or as some said, the Last game.) So I also like the "one with the car" choice.
  17. 1 point
    Agree. When I hit the send button, I realized my thinking was too simple. But instead of deleting my post (moderator privilege) I left it to take its licks.
  18. 1 point
    I believe you replace the ? with digits.
  19. 1 point
    Divide the thirty coins into four groups of 9, 9, 9, and 3. Label the 9 coin piles as 9a, 9b, and 9c. Weighing number one is 9a vs. 9b. If they balance, the odd coin is in either in 9c or in the pile of 3. If so, then weighing Number 2 is 9a vs. 9c. If they balance, then the odd coin is in the pile of 3. Label the three coins the pile of 3 as 3a, 3b, and 3c. Weighing number 3 is 3a vs. 3b. If they balance, the odd coin is 3c. In that case, weighing number four is 3c vs. any other coin to determine if the odd coin is lighter or heavier than the rest. If after weighing No. 3, coin 3a does not balance against coin 3b, then one of them must be the odd coin. Remove the lighter coin, let’s say it’s 3b, and place coin 3c on the scale against the remaining heavier one, 3a. If they balance, then the odd coin is 3b and it is lighter. If they do not balance, then the odd coin is 3a and it is heavier. Now let’s go back and see what happens if the first weighing has a different outcome. Weighing number one was 9a vs. 9b. Let’s say that they do NOT balance. That means that the odd coin is in either 9a or 9b. Note which of the two is heavier. Let’s say 9a is heavier. Weighing number two is 9a vs. 9c. They will either balance or 9a will be heavier. There is no possibility that 9a will be lighter. If 9a and 9c balance that means that the odd coin is in 9b and that it is lighter. If 9a is again heavier, that means that the odd coin is in 9a and it is heavier than the rest. Let’s say it’s in 9a and it’s heavier. Now divide 9a into three groups of three coins each. Label them 3A, 3B, and 3C. Weighing number three is 3A vs 3B. If they balance then the odd (heavier) coin is in 3C. If they do not balance, the odd (heavier) coin is in the heavier of 3A or 3B. Take the group of the three that contains the odd coin and divide it into 3 individual coins: 1a, 1b, and 1 c. The fourth weighing is 1a vs. 1 b. If they balance the odd is is 1c and it is heavier. If they do not balance, then the odd coin is the heavier of 1a and 1b. Using this same methodology, the odd coin and its status may be determined no matter how each of the weighings turn out.
  20. 1 point
  21. 1 point
    Also: http://projecteuler.net/problem=55
  22. 1 point
    Code: #include <iostream> #define BUF_SIZE 100 using namespace std; void putInArray(int num, int* buf){ for(int i=0;i<BUF_SIZE;i++){ buf[i] = num % 10; num = num / 10; } } bool isPalindrom(int* buf){ int i=0, j=BUF_SIZE-1; while(buf[j]==0 && j>0){ j--; } while(i<j){ if(buf[i] != buf[j]){ return false; } i++; j--; } return true; } void applyIteration(int* buf){ int i=0, j=BUF_SIZE-1; while(buf[j]==0 && j>0){ j--; } while(i<=j){ int temp = buf[i] + buf[j]; buf[i++] = temp; buf[j--] = temp; } for(int i=0;i<BUF_SIZE-1;i++){ buf[i+1] += buf[i] / 10; buf[i] = buf[i] % 10; } } bool isLychrel(int* buf){ for(int i=1;i<50;i++){ applyIteration(buf); if(isPalindrom(buf)){ return false; } } return true; } int main() { int buf[BUF_SIZE]; for(int num=0;num<10000;num++){ putInArray(num,buf); if(isLychrel(buf)){ cout << num << " is Lychrel " << endl; } } }
  23. 1 point
    Excellent riddle Plasmid. Those types are my favorite. Give yourself a 5 star vote and make it official. BTW . . . what's the "vote" thing for?
  24. 1 point
    Person 1 is left behind there would be no one to kill him
  25. 1 point
    Depends on what is meant by "have." [1] If have means "own," then yes. I can give someone something that I do not own. e.g. if I stole it. To give something, one only needs the ability to determine who controls it. If I control it, I can pass its control to someone else. So ... [2] If have means "possess the control of" then no. As stated, the paradox arises from the different antecedents of "with sorrow." Sorrow is the consequence of giving, not a possession before the act. But the language permits that interpretation by its form. Cute.