• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:14
CEST 07:14
KST 14:14
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18Serral wins EWC 202549
Community News
Maestros of The Game—$20k event w/ live finals in Paris20Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6
StarCraft 2
General
2v2 & SC: Evo Complete: Weekend Double Feature Geoff 'iNcontroL' Robinson has passed away What mix of new and old maps do you want in the next 1v1 ladder pool? (SC2) : The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament Monday Nights Weeklies Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
Custom Maps
External Content
Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull
Brood War
General
Flash On His 2010 "God" Form, Mind Games, vs JD Joined effort New season has just come in ladder BW General Discussion Flash Announces (and Retracts) Hiatus From ASL
Tourneys
[ASL20] Ro24 Group C BWCL Season 63 Announcement [CSLPRO] It's CSLAN Season! - Last Chance [ASL20] Ro24 Group A
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV Path of Exile Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The year 2050 Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2660 users

[Math Puzzle] Day5

Blogs > evanthebouncy!
Post a Reply
1 2 Next All
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2009-05-01 06:30:27
May 01 2009 06:27 GMT
#1
So another day!
Yesterday's puzzle was solved by raiame and datscilly, as they literally posted within 1 minutes of each other. Good job!

+ Show Spoiler [solution] +

Number each color 0 to n-1. Give each prisoner a pre-determined number-sum modded n. So each prisoner would have a mod-sum ranging from 0 to n-1. When a prisoner sees all other guy's hat, he adds all other guy's hats color together, and mod it with n. He then takes that out of his pre-determined sum, and say that the difference is his own hat.
This works because as long as the prisoner can guess the total sum correctly, subtracting the other guy's hat sum will give his own hat color.
The total number of sums possible mod_n is n numbers, and since each prisoner guess a pre-determined sum from 0 to n-1, one will match the total sum and therefore one would have the right answer for his own hat color.


Day5's puzzle:

I'll give something simple today...
A vendor sells toys, he buys the toys for $18 and sells them for $21. One day, a kid walks in and hands him $100 bill, since he does not have change, he walks to his neighbor, and breaks up the $100 bill(i.e. he gives neighbor the $100 bill, and his neighbor gives him $100 worth of smaller bills).
He then proceed to give the kid his toy and change for the purchase.
Soon his neighbor was back, "Your 100$ bill was fake!", The neighbor said, and demanded his $100 back. So the vendor gives $100 to his neighbor.

How much money did the vendor lose as a result of this transaction?

Extra:
Again, put answer in spoilers, clarification will be given(unlikely for this puzzle).

Difficulty Poll:
This is something I'd like to try for fun, just try to vote honest.
[image loading]

Poll: How difficult is this puzzle?
(Vote): Can't do it
(Vote): Think I have it
(Vote): Sure I did it right



Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
Last Edited: 2009-05-01 06:35:37
May 01 2009 06:32 GMT
#2
+ Show Spoiler +
assuming buying the toy for 18 dollars isn't counted in the transaction, 79 for change to the boy and 100 paid to the neighbor afterward, the kid never actually paid anything, so 179? if buying the toy is counted, then 197?

edit oh wait shit rofl the neighbor gave him a legit 100 so subtract 100 of lost money, 79 (not counting originally purchasing toy)/97 (counting it)?
posting on liquid sites in current year
EsX_Raptor
Profile Blog Joined February 2008
United States2801 Posts
May 01 2009 06:32 GMT
#3
+ Show Spoiler +
$118
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
May 01 2009 06:33 GMT
#4
On May 01 2009 15:32 EsX_Raptor wrote:
+ Show Spoiler +
$118

awesome
posting on liquid sites in current year
Ichigo1234551
Profile Blog Joined October 2008
United States649 Posts
Last Edited: 2009-05-01 06:39:19
May 01 2009 06:33 GMT
#5
+ Show Spoiler +

100 dollars because he gave the money back to his neighbor
I WILL DESTROY YOU IN 2009 OK???????????????
deathgod6
Profile Blog Joined January 2008
United States5064 Posts
Last Edited: 2009-05-01 06:42:34
May 01 2009 06:34 GMT
#6
Editting answer.
+ Show Spoiler +
Forgot the kid's bill was fake and misunderstood the question . The profit from the neighbor is $21, excluding the change he gives to the boy. The shopkeeper then has to give $100 back to the neighbor. He also lost the toy, so it would be -18+21-100, which would be $97 lost.
4.0 GPA = A rank 5.0 GPA = Olympic --------- Bisu, Best, Fantasy. i ♥ oov. They can get in my BoxeR anyday.
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
May 01 2009 06:37 GMT
#7
On May 01 2009 15:33 Ichigo1234551 wrote:
+ Show Spoiler +
100 dollars because he gave the money back to his neighbor

+ Show Spoiler +
full explanation please? o.O are you counting the fact that the change for the kid was 79?
posting on liquid sites in current year
Ota Solgryn
Profile Blog Joined January 2008
Denmark2011 Posts
May 01 2009 06:39 GMT
#8
+ Show Spoiler +
179$
ihasaKAROT: "Wish people would stop wasting their lives on finding flaws in others"
Ichigo1234551
Profile Blog Joined October 2008
United States649 Posts
May 01 2009 06:40 GMT
#9
On May 01 2009 15:37 SpiritoftheTunA wrote:
Show nested quote +
On May 01 2009 15:33 Ichigo1234551 wrote:
+ Show Spoiler +
100 dollars because he gave the money back to his neighbor

+ Show Spoiler +
full explanation please? o.O are you counting the fact that the change for the kid was 79?


+ Show Spoiler +
Its a trick question yo. He only asks us about the transaction that he gave the money back to his neighbor.
I WILL DESTROY YOU IN 2009 OK???????????????
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
May 01 2009 06:42 GMT
#10
On May 01 2009 15:40 Ichigo1234551 wrote:
Show nested quote +
On May 01 2009 15:37 SpiritoftheTunA wrote:
On May 01 2009 15:33 Ichigo1234551 wrote:
+ Show Spoiler +
100 dollars because he gave the money back to his neighbor

+ Show Spoiler +
full explanation please? o.O are you counting the fact that the change for the kid was 79?


+ Show Spoiler +
Its a trick question yo. He only asks us about the transaction that he gave the money back to his neighbor.

+ Show Spoiler +
no i think you're just picking the wrong antecedent for "this transaction"
posting on liquid sites in current year
Plutonium
Profile Joined November 2007
United States2217 Posts
Last Edited: 2009-05-01 06:49:17
May 01 2009 06:42 GMT
#11
nvm
delanZia
Profile Blog Joined October 2008
Australia34 Posts
Last Edited: 2009-05-01 06:44:14
May 01 2009 06:42 GMT
#12
+ Show Spoiler +
197, spent $18 on the toy, gave the kid $79 of real money as change and gave his neighbor $100 real money

edit
wait thats wrong haha
if not now then when?
Rhaegar99
Profile Blog Joined September 2008
Australia1190 Posts
May 01 2009 06:43 GMT
#13
+ Show Spoiler +
-18 for buying toy. +0 from fake money. +100 from neightbour. -79 from giving change. -100 from repaying neighbour. So lost $97 total.
deathgod6
Profile Blog Joined January 2008
United States5064 Posts
May 01 2009 06:44 GMT
#14
+ Show Spoiler +
Where is everyone getting $118? At least explain your answer guys? lol.
4.0 GPA = A rank 5.0 GPA = Olympic --------- Bisu, Best, Fantasy. i ♥ oov. They can get in my BoxeR anyday.
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
May 01 2009 06:45 GMT
#15
On May 01 2009 15:44 deathgod6 wrote:
+ Show Spoiler +
Where is everyone getting $118? At least explain your answer guys? lol.

seconded
posting on liquid sites in current year
Plutonium
Profile Joined November 2007
United States2217 Posts
Last Edited: 2009-05-01 06:49:01
May 01 2009 06:48 GMT
#16
Whoops, revised it.

+ Show Spoiler +
+21 selling to the kid
-18 for cost of toy
-100 for giving to neighbor

so he lost 97 dollars.
ktp
Profile Blog Joined January 2007
United States797 Posts
Last Edited: 2009-05-01 07:13:40
May 01 2009 07:07 GMT
#17
+ Show Spoiler +
He lost 97 dollars. His profit margin was $3. The transaction between the kid and his neighboor and stuff is all irrelevent. He still made 3 dollrs. Then the neighboor wanted 100 dollars back. So the earnings 3 minus 100 dollar is - 97. He lost 97 dollars.


and how did you guys voted in poll without before evan posted the correct answer is beyond me...
Malongo
Profile Blog Joined November 2005
Chile3472 Posts
May 01 2009 07:39 GMT
#18
+ Show Spoiler +
As ktp posted the transaction with the neighboor is irrelevent. Think that there was no neighbor and the vendor had the change. Boy comes in gives nothing picks change (-79) and leaves with the toy (-18). Total: lose 97 doll.
Help me! im still improving my English. An eye for an eye makes the whole world blind. M. G.
Ichigo1234551
Profile Blog Joined October 2008
United States649 Posts
May 01 2009 07:53 GMT
#19
-79 for the change he gave the kid back
-18 for the cost of the toy
-100 for the money he gave the vendor

so 197
I WILL DESTROY YOU IN 2009 OK???????????????
Malongo
Profile Blog Joined November 2005
Chile3472 Posts
May 01 2009 08:02 GMT
#20
Use spoilers+ Show Spoiler +

On May 01 2009 16:53 Ichigo1234551 wrote:
-79 for the change he gave the kid back
-18 for the cost of the toy
-100 for the money he gave the vendor

so 197

-197+ 100 from neighbor= -97
Help me! im still improving my English. An eye for an eye makes the whole world blind. M. G.
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 4h 46m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 143
StarCraft: Brood War
Sea 8624
Larva 408
PianO 284
ggaemo 87
Icarus 9
Dota 2
NeuroSwarm151
League of Legends
JimRising 0
Counter-Strike
Stewie2K1257
Heroes of the Storm
Khaldor134
Other Games
summit1g9555
WinterStarcraft771
singsing540
ViBE173
kaitlyn18
ROOTCatZ9
Organizations
Other Games
gamesdonequick838
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH306
• davetesta19
• Freeedom3
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Diggity4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1012
Upcoming Events
Sparkling Tuna Cup
4h 46m
SC Evo League
6h 46m
Chat StarLeague
10h 46m
Razz vs Julia
StRyKeR vs ZZZero
Semih vs TBD
Replay Cast
18h 46m
Afreeca Starleague
1d 4h
Queen vs HyuN
EffOrt vs Calm
Wardi Open
1d 5h
RotterdaM Event
1d 9h
Replay Cast
1d 18h
Afreeca Starleague
2 days
Rush vs TBD
Jaedong vs Mong
Afreeca Starleague
3 days
herO vs TBD
Royal vs Barracks
[ Show More ]
Replay Cast
3 days
The PondCast
4 days
Replay Cast
4 days
LiuLi Cup
5 days
Cosmonarchy
5 days
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
BSL Team Wars
5 days
Team Hawk vs Team Dewalt
BSL Team Wars
5 days
Team Hawk vs Team Bonyth
SC Evo League
6 days
[BSL 2025] Weekly
6 days
Liquipedia Results

Completed

Jiahua Invitational
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
Acropolis #4 - TS1
CSLAN 3
SEL Season 2 Championship
WardiTV Summer 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL Season 18: Qualifier 2
CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.