# [Question] Mathematics × Programming Competition #5 [問題] 數學 × 程式編寫比賽 (第五回)

in #contest7 years ago

## Mathematics × Programming Competition #5

Designed by @nicolemoker

## Question

Complete the 4 × 4 puzzle above using the numbers 1 to 16 without repetition, subject to the following constraints:

1. A, B, J, K can only be filled with the numbers 2, 4, 6 or 8
2. E + F = 26
3. K + O = 9
4. B + K = 14
5. A + L = 9
6. C + I = 25
7. A + G = 13
8. C + P = 24
9. B + M = 9
10. A + K = 12
11. D + E = 25
12. | E - N | = 4

Please submit your answer through this link. Type your answer as a list of numbers from A to P separated by commas, for example “1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16”.

## Rules

• This competition will last for 7 days. After that, no more submission will be accepted.
• Participants who submit the answer as a comment below this post will be disqualified.
• Participants can submit an unlimited number of solutions, however only the latest answer will be considered.
• You have to upvote this post in order to be eligible for the competition.

## Prizes

• Prize pool balance carried forward = 0 SBD
• SBD payout of this post will be added to the prize pool.
• The first 3 participants plus 5 randomly chosen participants who gave the correct numerical answer will share the prize pool equally. Thanks to @steemstem who kindly sponsored this competition, the first, second and third participants who gave the correct numerical answer will get additional 7.5, 5 and 2.5 Steem respectively!
• Those who resteemed this post will have 400% higher chance to win in the lucky draw!
• If not all prizes are given out, they will be accumulated for the next competition.
• @kenchung reserves all the rights to disqualify any suspected cheating players and to decide the distribution of prizes among the winner(s).

The steemSTEM project (@steemstem) is a community-supported project aiming to increase the quality and the visibility of STEM (STEM is the acronym for Science, Technology, Engineering and Mathematics) articles on Steemit. Please support steemSTEM by following @steemstem, joining the chat channel and following the curation trail on Streemian! In order to further promote the use of the chat channel, I will stop announcing the time of next competition via a post. Instead I will announce the time in advance in the chat channel!

## 數學 × 程式編寫比賽 (第五回)

Designed by @nicolemoker

## 問題

1. A, B, J, K 只可由 2, 4, 6, 8 四個數字填上
2. E + F = 26
3. K + O = 9
4. B + K = 14
5. A + L = 9
6. C + I = 25
7. A + G = 13
8. C + P = 24
9. B + M = 9
10. A + K = 12
11. D + E = 25
12. | E - N | = 4

## 規則

• 此比賽為時7天，其後將不會再接受新答案。
• 嚴禁在回覆公開答案，否則將被取消資格。
• 參加者可以重覆提交答案，但比賽終結時只會考慮最後提交的答案。
• 你必須upvote此帖方能參加比賽。

## 獎品

• 累積獎池現為 0 SBD。
• 此帖文的 SBD 金額將會加入獎池。
• 首三名以及另外五名隨機抽出並給出正確數字答案的參賽者將平分獎池。
• 另外感謝 @steemstem 的贊助，首三名給出正確數字答案的參賽者將獲得額外的 7.5, 5 及2.5 Steem!
• Resteem此帖文者將有額外400％的得獎機會！
• 若有獎金未被發放，將累積至下一次比賽的獎池。
• 本人保留一切最終權利，包括但不限於取消任何疑似作弊者的資格並決定獲獎者的獎勵分配。

steemSTEM（@steemstem）是一個由steemit社群支持的項目，旨在宣傳STEM（STEM是科學，技術，工程和數學的首字母縮略詞）。 請通過以下方式來支持steemSTEM：追蹤@steemSTEM，加入聊天頻道和加入Streemian！為了進一步推廣聊天頻道的使用，我將不再透過發文來宣布下一場比賽的時間，我會在聊天頻道中提前公佈比賽時間！

Sort:

voted, resteeeeemed and correct answer submitted... like last time :P

wish that you can win again! :P

Great, I will include your answer in my next post! Thanks :)

I will give you a little hint about tools you should use. Take a look on prolog programming language which is great for constraint logic programming :)

Follow me and upvote my post , why ? because i'll do the same

Excellent post..

Submitted. Hope I got it right this time!

Thanks for joining!

Nice and relatively simple logic puzzle. Entered and upvoted

great!

Is it Valid Number ?

| E - N |

What does that mean??? Is it just normal E - N or what else could it mean???

7 years ago (edited)

that's the absolute sign, a mathematical symbol

that is?

7 years ago (edited)

it turns negative values to positive. e.g. | -2 | = 2, | 3 | = 3
for more properties of this function you may try to google it

Ahhhh Thanks!

Thank you for the contest! Since I graduated a year ago I don't do many logical thinking problems anymore so this was super fun for me! 😊

glad that you enjoy it! :)

Excellent contest, and send my answer, @kenchung

great, thanks for joining!

I hope to stay in the finalists, the numbers are my passion @kenchung

STEEM 0.28
TRX 0.12
JST 0.033
BTC 67036.29
ETH 3118.43
USDT 1.00
SBD 3.74