You are viewing a single comment's thread from:

RE: Bruteforce Solution to Mathematics × Programming Competition #5 暴力搜索[問題] 數學 × 程式編寫比賽 (第五回)

in #cn8 years ago

Nice!
Do you know Prolog? I solved this problem using it. The idea is the same as you did. Only all the loops to try new values for each variable are automatically handled by the Prolog engine 😼
You can see my solution here:
https://steemit.com/contest/@armandocat/mathematics-programming-competition-5-prolog-solution

Coin Marketplace

STEEM 0.09
TRX 0.30
JST 0.034
BTC 113231.86
ETH 3996.78
USDT 1.00
SBD 0.58