Friday Problem
-
I don't think it is that difficult but here goes: There are three chests - [a], [b] and [c] - and they are labelled: [a] 100 gold coins [b] 50 gold coins and 50 silver coins [c] 100 silver coins But all the labels are on the wrong chests. You are allowed to examine one coin from one chest only and from that you must find which one has all the gold.
veni bibi saltavi
Ask ChestA what ChestB would answer if you asked it which one held all the gold.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
I don't think it is that difficult but here goes: There are three chests - [a], [b] and [c] - and they are labelled: [a] 100 gold coins [b] 50 gold coins and 50 silver coins [c] 100 silver coins But all the labels are on the wrong chests. You are allowed to examine one coin from one chest only and from that you must find which one has all the gold.
veni bibi saltavi
Take all three and blast away any who opposes. Also, 165 GP of treasure stops being useful at level 3 :D
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
-
I don't think it is that difficult but here goes: There are three chests - [a], [b] and [c] - and they are labelled: [a] 100 gold coins [b] 50 gold coins and 50 silver coins [c] 100 silver coins But all the labels are on the wrong chests. You are allowed to examine one coin from one chest only and from that you must find which one has all the gold.
veni bibi saltavi
I would take a coin from the one labeled '50 gold, 50 silver'. The label is wrong, so it must be a chest with either all gold or all silver. If I get a gold coin, then I have already found the right chest. If I get a silver coin, then the chest with '100 gold' must be the one with 50 gold and 50 silver, leaving only the chest with '100 silver' to have the 100 gold coins. it can't be the other way around or else the label '100 gold' would be true.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
"I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns. -
Take all three and blast away any who opposes. Also, 165 GP of treasure stops being useful at level 3 :D
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
Is... ... the correct answer! :laugh:
veni bibi saltavi
-
I don't think it is that difficult but here goes: There are three chests - [a], [b] and [c] - and they are labelled: [a] 100 gold coins [b] 50 gold coins and 50 silver coins [c] 100 silver coins But all the labels are on the wrong chests. You are allowed to examine one coin from one chest only and from that you must find which one has all the gold.
veni bibi saltavi
-
I don't think it is that difficult but here goes: There are three chests - [a], [b] and [c] - and they are labelled: [a] 100 gold coins [b] 50 gold coins and 50 silver coins [c] 100 silver coins But all the labels are on the wrong chests. You are allowed to examine one coin from one chest only and from that you must find which one has all the gold.
veni bibi saltavi
-
I don't think it is that difficult but here goes: There are three chests - [a], [b] and [c] - and they are labelled: [a] 100 gold coins [b] 50 gold coins and 50 silver coins [c] 100 silver coins But all the labels are on the wrong chests. You are allowed to examine one coin from one chest only and from that you must find which one has all the gold.
veni bibi saltavi
I would check the [b], which should have either 100 gold coins, or 100 silver coins, according to the predicate. If it has 100 gold coins, problem solved. If it has 100 silver coins, the gold coins are in the '100 silver soins' labelled chest.
I never finish anyth
-
I don't think it is that difficult but here goes: There are three chests - [a], [b] and [c] - and they are labelled: [a] 100 gold coins [b] 50 gold coins and 50 silver coins [c] 100 silver coins But all the labels are on the wrong chests. You are allowed to examine one coin from one chest only and from that you must find which one has all the gold.
veni bibi saltavi
I would check the [b], which should have either 100 gold coins, or 100 silver coins, according to the predicate. If it has 100 gold coins, problem solved. If it has 100 silver coins, the gold coins are in the '100 silver soins' labelled chest.
I never finish anyth
-
I don't think it is that difficult but here goes: There are three chests - [a], [b] and [c] - and they are labelled: [a] 100 gold coins [b] 50 gold coins and 50 silver coins [c] 100 silver coins But all the labels are on the wrong chests. You are allowed to examine one coin from one chest only and from that you must find which one has all the gold.
veni bibi saltavi
-
Open the chest that says 50 gold / 50 silver. If this contains a gold coin, this is the chest. If it contains a silver coin, it is the chest that says 100 silver coins that contain the 100 gold coins.
if label-50:50 has gold coin then it can be 100g or 100s both options meet false labelling rule - option 100s is not valid - gold coin is proof if label-50:50 has silver coin then it can be 100g or 100s both options meet false labelling rule - option 100g is not valid - silver coin is proof
-
if label-50:50 has gold coin then it can be 100g or 100s both options meet false labelling rule - option 100s is not valid - gold coin is proof if label-50:50 has silver coin then it can be 100g or 100s both options meet false labelling rule - option 100g is not valid - silver coin is proof
If you take a gold coin from the 50\50 then it has to be all gold - the only possible contents are 100g and 50\50 but the labels are wrong and as it is labelled 50\50 it has to be all gold, so problem solved. If the 50\50 has a silver it must be all silver for the same reason. If the 50\50 is really all silver then the box with silver label must be wrong...the box labelled silver can't be all silver so must be all gold or 50\50....however if it is 50\50 then that means the box labelled gold is really all gold which can't be true as the labels are wrong. So the box labelled gold must be 50\50, the box labelled 50\50 must be silver and the box labelled silver must be gold, so problem solved.
-
If you take a gold coin from the 50\50 then it has to be all gold - the only possible contents are 100g and 50\50 but the labels are wrong and as it is labelled 50\50 it has to be all gold, so problem solved. If the 50\50 has a silver it must be all silver for the same reason. If the 50\50 is really all silver then the box with silver label must be wrong...the box labelled silver can't be all silver so must be all gold or 50\50....however if it is 50\50 then that means the box labelled gold is really all gold which can't be true as the labels are wrong. So the box labelled gold must be 50\50, the box labelled 50\50 must be silver and the box labelled silver must be gold, so problem solved.
truth I actually said what Haakon and you said :(
-
I don't think it is that difficult but here goes: There are three chests - [a], [b] and [c] - and they are labelled: [a] 100 gold coins [b] 50 gold coins and 50 silver coins [c] 100 silver coins But all the labels are on the wrong chests. You are allowed to examine one coin from one chest only and from that you must find which one has all the gold.
veni bibi saltavi
It's the chest labeled "beware of the leopard". :thumbsup: