EXAPUNKS
评价数不足
FROBENIUS (DO NOT MODIFY, ECONOMY AT RISK)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
3.722 KB
2018 年 8 月 13 日 下午 8:51
1 项改动说明 ( 查看 )

订阅以下载
FROBENIUS (DO NOT MODIFY, ECONOMY AT RISK)

描述
Based off the mathematical headache called the Frobenius Coin Problem, also known as the Chicken McNugget Theorem. This is a relatively difficult puzzle. Best of luck, I can't wait to see what you do with it.




Description:

Before you begin, you must break into the treasury by entering the correct PIN number, one digit at a time. The number is 7482.

File 200 holds two numbers, representing dollar amounts on two types of coin in an economy.

Iterate over the various shops in the marketplace listed in the directory (File 300) to remove items that cannot be bought with any combination of those two coins.

Files in the marketplace include a list of goods, followed by their price in dollars. Items will not cost more than $30.
热门讨论 查看全部(1)
0
2018 年 8 月 14 日 上午 5:02
哈哈
Michael_Dc
2 条留言
eagercheesecake  [作者] 2018 年 8 月 15 日 下午 1:52 
@Monotof1 Yeah, but what's the fun in brute forcing it?
Monotof1 2018 年 8 月 15 日 下午 12:10 
Nice puzzle. Not too hard as I got it down to 814 cycles pretty easy.
It seems faster to brute force it than to be smart about it.