+ 5
Buy 100 chickens for 100 dollars
Given that: 1. You have to spend EXACTLY 100 dollars; 2. You have to buy EXACTLY 100 chickens; 3. Rooster: 5 dollars a piece; 4. Hen: 3 dollars a piece; 5. Chick: 1 dollar for 3 pieces; Question: How many combinations can satisfy these requirements? All languages are welcomed! I know the answer, how about you?
7 Réponses
+ 7
And, my solution 😁
https://code.sololearn.com/co5GV4uWdMc9/?ref=app
+ 6
Hello there! This is a QnA section, not an assignment section. Even if you actually know the answer, this should belong in your feed. Please consider reading this and taking this question down ;)
https://www.sololearn.com/discuss/1316935/?ref=app
+ 3
William try here:
https://www.sololearn.com/Discuss/1270852/?ref=app
Probably Airree forgot to mention it...
+ 3
Yeah. Also, you could easily post it in your feed, rules are not that strict, and there isn't that many mean people like me, so you can post your challenges/assignments freely ;)
Here's a very wet
- S O R R Y -
+ 1
Python is the easiest to do this in.
0
Airree Yeah, every time I suggest something interesting, it's turned down here. I can't add anything in assignment section, so the only place is to post it here. I want to give chance for everyone from all over the world to turn on their power of imagination and dig in into small but challenging piece of brain work. As a result I receive very dry "sorry" from administrators. Restriction never gives chance for creativity. Well, it's your call nevertheless.