create account

[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回) by kenchung

View this thread on: hive.blogpeakd.comecency.com
· @kenchung · (edited)
$77.34
[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)
<h2><center>Good News!</center></h2>

<h3><center>Thanks to @steemstem , the sponsored prize has been doubled! </center> </h3>

<center>Please refer to the "Prizes" section for details. </center>

<h2><center>好消息!</center></h2>

<h3><center>感謝 @steemstem 慷慨支持,贊助金額由是次比賽起增加一倍!</center> </h3>

<center>詳見下文"獎品"部分。</center>


---
---

<h2><center>Mathematics × Programming Competition #8 </center></h2>

https://steemitimages.com/0x0/https://steemitimages.com/DQmb33Qwu5vome8xQ2ZLcqFxZmFwV255hPGovzavXSUDtaX/math%26progLOGO-01-01.png

<center><sup>Designed by @nicolemoker</sup></center>

<h2><center>13/10/2017 UTC 15:00 - 20/10/2017 UTC 15:00</center></h2>

<center><h6>*For Chinese version please scroll to the bottom. 中文版請見文末。*</h6></center>

----

<center><h2>Question</h2></center>

Ken has a four-digit calculator which displays numbers using the seven-segment-display. For example the number 159 is displayed as

<center>https://steemitimages.com/DQmdzSzwdBK2McUY7b1FvoFHWxBxNmshbv1AextGymCLMCq/image.png</center>
<center><h6>Note that 159 is displayed as 0159</h6></center>

Suppose we want to use non-transparent cards to represent all the possible 4-digit numbers from 0000 to 9999. Each card will show one 4-digit number, where the numbers are written using seven-segment-display. However when some cards are rotated 180°, a new number can be formed. For example when the card 0159 is rotated 180°, it becomes 6510.
<center>https://steemitimages.com/DQmeUxm44PWNVixdNomuYDXkEJmBvJCnqZ8oqxorumPUzne/a.png</center>
<center><h6>Note that it is acceptable for the ‘1’ to be displayed on the left hand side</h6></center>

Considering the possibility of rotating a card 180°, what is the minimum number of non-transparent cards required to represent all the possible 4-digit numbers from 0000 to 9999?

---
<h2><center>Answer submission</center></h2>

Please submit your answer through this <a href="https://goo.gl/forms/OXj1Bafe4QOU2c3p2">link</a>. 

---
<h2><center>Rules</center></h2>

- 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.

---
<h2><center>Prizes</center></h2>

- The three fastest contestants would win the first prize, second prize and third prize respectively. 
- Other contestants who gave the correct answer would enter a lucky draw. 5 winners will be drawn. 
- Those who **resteemed** this post will have 400% higher chance to win in the lucky draw.
- @kenchung reserves all the rights to disqualify any suspected cheating players and to decide the distribution of prizes among the winner(s).

Name of prize | Max no. of prizes | SBD | SP (sponsored by @steemstem ! )
---|---|---|---
First prize| 1 | SBD payout of this post / *n* | 15
Second prize| 1 | SBD payout of this post / *n* | 10
Third prize| 1 | SBD payout of this post / *n* | 5
Consolation prize| 5 | SBD payout of this post / *n* | 0

where *n* is the total number of winners in this competition. *n* = min (number of participants getting the correct answer, 8).


----


<center>https://steemitimages.com/0x0/https://steemitimages.com/DQmY2jUCgfijKRkYnpsENa1jpv6VFwWe8Ts88cYKcQjiLcp/image.png</center>


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 and joining the <a href ="https://steemit.chat/channel/steemSTEM">chat channel</a>. You can also consider joining a private curation trail to further support steemSTEM by asking about it in the chat channel. 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! 

---
----

<h2><center>數學 × 程式編寫比賽 (第八回) </center></h2>

https://steemitimages.com/0x0/https://steemitimages.com/DQmb33Qwu5vome8xQ2ZLcqFxZmFwV255hPGovzavXSUDtaX/math%26progLOGO-01-01.png

<center><sup>Designed by @nicolemoker</sup></center>

<h2><center>13/10/2017 UTC 15:00 - 20/10/2017 UTC 15:00</center></h2>

---

<center><h2>問題</h2></center>

Ken有一部只能顯示四位數的計算器,它使用七段顯示來顯示數字。例如,159顯示為

<center>https://steemitimages.com/DQmdzSzwdBK2McUY7b1FvoFHWxBxNmshbv1AextGymCLMCq/image.png</center>
<center><h6>注意159顯示為0159</h6></center>

假設我們要使用非透明卡紙來表示從0000到9999所有可能的4位數字。每張卡紙將顯示一個4位數字,而這些數字是使用七段顯示器所寫成的。留意當某些卡片旋轉180°時,可以形成新的數字。例如當卡片0159旋轉180°時,它將變成6510。
<center>https://steemitimages.com/DQmeUxm44PWNVixdNomuYDXkEJmBvJCnqZ8oqxorumPUzne/a.png</center>
<center><h6>注意'1'顯示在左側亦可接受</h6></center>

考慮到將卡紙旋轉180°的可能性,最少需要多少張卡紙才能表示從0000到9999所有可能的4位數字?

---
<h2><center>答案提交</center></h2>

請經<a href="https://goo.gl/forms/OXj1Bafe4QOU2c3p2">此連結</a>提交答案。

---
<h2><center>規則</center></h2>

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

---
<h2><center>獎品</center></h2>

- 最快給出正確答案的三名參賽者將分別獲得一等獎、二等獎和三等獎。
- 其他給出正確答案的參賽者將可參與抽獎。5名參賽者將被選出。
- Resteem此帖文者將有額外400%的得獎機會。
- 本人保留一切最終權利,包括但不限於取消任何疑似作弊者的資格並決定獲獎者的獎勵分配。

獎項 | 獎項數目 | SBD | SP (由 @steemstem 贊助!)
---|---|---|---
一等獎| 1 | 此帖文的 SBD 金額 / *n* | 15
二等獎| 1 | 此帖文的 SBD 金額 / *n* | 10
三等獎| 1 | 此帖文的 SBD 金額 / *n* | 5
安慰獎| 5 | 此帖文的 SBD 金額 / *n* | 0

其中 *n* 是本比賽中得獎者的總數。*n* = min (答對人數, 8)。

---


<center>https://steemitimages.com/0x0/https://steemitimages.com/DQmY2jUCgfijKRkYnpsENa1jpv6VFwWe8Ts88cYKcQjiLcp/image.png</center>


steemSTEM(@steemstem)是一個由steemit社群支持的項目,旨在宣傳STEM(STEM是科學,技術,工程和數學的首字母縮略詞)。 請追蹤 @steemSTEM 以及加入<a href ="https://steemit.chat/channel/steemSTEM">聊天頻道</a>來支持steemSTEM。你還可以透過加入自動點讚系統來在為了進一步支持steemSTEM,詳情請在聊天頻道內向負責人士查詢。為了推廣聊天頻道的使用,我將不再透過發文來宣布下一場比賽的時間,我會在聊天頻道中提前公佈比賽時間。
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 64 others
properties (23)
authorkenchung
permlinkquestion-mathematics-programming-competition-8
categorycontest
json_metadata{"tags":["contest","steemstem","math","cn","cn-contest"],"users":["steemstem","nicolemoker","kenchung"],"image":["https://steemitimages.com/0x0/https://steemitimages.com/DQmb33Qwu5vome8xQ2ZLcqFxZmFwV255hPGovzavXSUDtaX/math%26progLOGO-01-01.png","https://steemitimages.com/DQmdzSzwdBK2McUY7b1FvoFHWxBxNmshbv1AextGymCLMCq/image.png","https://steemitimages.com/DQmeUxm44PWNVixdNomuYDXkEJmBvJCnqZ8oqxorumPUzne/a.png","https://steemitimages.com/0x0/https://steemitimages.com/DQmY2jUCgfijKRkYnpsENa1jpv6VFwWe8Ts88cYKcQjiLcp/image.png"],"links":["https://goo.gl/forms/OXj1Bafe4QOU2c3p2","https://steemit.chat/channel/steemSTEM"],"app":"steemit/0.1","format":"markdown"}
created2017-10-13 15:00:12
last_update2017-10-15 09:06:09
depth0
children36
last_payout2017-10-20 15:00:12
cashout_time1969-12-31 23:59:59
total_payout_value60.246 HBD
curator_payout_value17.090 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,953
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,591,233
net_rshares32,053,045,969,419
author_curate_reward""
vote details (128)
@armandocat ·
$0.05
Nice! I submitted my answer! 😼
👍  
properties (23)
authorarmandocat
permlinkre-kenchung-question-mathematics-programming-competition-8-20171013t152806765z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 15:28:06
last_update2017-10-13 15:28:06
depth1
children1
last_payout2017-10-20 15:28:06
cashout_time1969-12-31 23:59:59
total_payout_value0.049 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation19,042,686,186,587
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,593,273
net_rshares21,348,180,219
author_curate_reward""
vote details (1)
@kenchung ·
great! :)
properties (22)
authorkenchung
permlinkre-armandocat-re-kenchung-question-mathematics-programming-competition-8-20171013t162813839z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:28:18
last_update2017-10-13 16:28:18
depth2
children0
last_payout2017-10-20 16:28:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,597,275
net_rshares0
@breathewind · (edited)
It seems it's not so late. I decide to reply first to get a nice position:) 
Btw, I see there may be a mistake on competition period 
"13/10/2017 UTC 15:00 - 20/11/2017 UTC 15:00"
I think it should be:
"13/10/2017 UTC 15:00 - 20/10/2017 UTC 15:00".
properties (22)
authorbreathewind
permlinkre-kenchung-question-mathematics-programming-competition-8-20171013t161531594z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:15:33
last_update2017-10-13 16:34:39
depth1
children5
last_payout2017-10-20 16:15:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length248
author_reputation18,325,605,106,662
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,596,530
net_rshares0
@kenchung ·
just to remind you that your final position depends on the time of your answer submission through the google form, not the timestamp of your comment here ;)
properties (22)
authorkenchung
permlinkre-breathewind-re-kenchung-question-mathematics-programming-competition-8-20171013t163140909z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:31:42
last_update2017-10-13 16:31:42
depth2
children4
last_payout2017-10-20 16:31:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length156
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,597,465
net_rshares0
@breathewind ·
Thank you,  already summited
properties (22)
authorbreathewind
permlinkre-kenchung-re-breathewind-re-kenchung-question-mathematics-programming-competition-8-20171014t125405308z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-14 12:54:06
last_update2017-10-14 12:54:06
depth3
children1
last_payout2017-10-21 12:54:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length28
author_reputation18,325,605,106,662
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,664,984
net_rshares0
@speeding ·
他说你的日期写错了,13/10/2017 UTC 15:00 - 20/11/2017 UTC 15:00,截止日期应该是 20/10/2017 UTC 15:00 吧?
properties (22)
authorspeeding
permlinkre-kenchung-re-breathewind-re-kenchung-question-mathematics-programming-competition-8-20171015t000605870z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-15 00:06:12
last_update2017-10-15 00:06:12
depth3
children1
last_payout2017-10-22 00:06:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length85
author_reputation1,172,222,545,920
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,706,197
net_rshares0
@breathewind ·
May I use contents of this post in my blog for illustrating the solution?(in the future, not now). I will comment where I quote them from.
properties (22)
authorbreathewind
permlinkre-kenchung-question-mathematics-programming-competition-8-20171020t122620836z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-20 12:26:21
last_update2017-10-20 12:26:21
depth1
children1
last_payout2017-10-27 12:26:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length138
author_reputation18,325,605,106,662
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,134,597
net_rshares0
@kenchung ·
ye sure!
properties (22)
authorkenchung
permlinkre-breathewind-re-kenchung-question-mathematics-programming-competition-8-20171020t155650726z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-20 15:56:51
last_update2017-10-20 15:56:51
depth2
children0
last_payout2017-10-27 15:56:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length8
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,140,777
net_rshares0
@challk ·
waiting to see the answer :) hopefully got it right
properties (22)
authorchallk
permlinkre-kenchung-question-mathematics-programming-competition-8-20171021t060932068z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-21 06:09:30
last_update2017-10-21 06:09:30
depth1
children0
last_payout2017-10-28 06:09:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length51
author_reputation47,089,492,150
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,192,663
net_rshares0
@cifer ·
Am I late? submitted and resteemed~~
👍  
properties (23)
authorcifer
permlinkre-kenchung-question-mathematics-programming-competition-8-20171013t160117584z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:01:12
last_update2017-10-13 16:01:12
depth1
children1
last_payout2017-10-20 16:01:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length36
author_reputation8,256,283,569,876
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,595,675
net_rshares477,775,047
author_curate_reward""
vote details (1)
@kenchung ·
not quite late i guess, but even if the first 3 spots have been taken, you can still have the chance to get a random prize!
properties (22)
authorkenchung
permlinkre-cifer-re-kenchung-question-mathematics-programming-competition-8-20171013t162936883z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:29:36
last_update2017-10-13 16:29:36
depth2
children0
last_payout2017-10-20 16:29:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length123
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,597,318
net_rshares0
@enzor ·
I'm not able to answer this question but I'll resteem this because it's a good question 
properties (22)
authorenzor
permlinkre-kenchung-question-mathematics-programming-competition-8-20171013t154956643z
categorycontest
json_metadata{"tags":["contest"],"app":"busy/1.0.0"}
created2017-10-13 15:50:06
last_update2017-10-13 15:50:06
depth1
children2
last_payout2017-10-20 15:50:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length88
author_reputation3,021,314,486,653
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,594,856
net_rshares0
@firstamendment ·
sure you can.  you can write them all down one at a time, and hope you can identify a pattern (or hope you don't make a counting error).  Or, you can learn how to code.    This is a simple one through coding.
properties (22)
authorfirstamendment
permlinkre-enzor-re-kenchung-question-mathematics-programming-competition-8-20171013t184223985z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 18:42:33
last_update2017-10-13 18:42:33
depth2
children0
last_payout2017-10-20 18:42:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length208
author_reputation2,418,296,227,484
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,606,778
net_rshares0
@kenchung ·
thanks so much!
properties (22)
authorkenchung
permlinkre-enzor-re-kenchung-question-mathematics-programming-competition-8-20171013t163206066z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:32:06
last_update2017-10-13 16:32:06
depth2
children0
last_payout2017-10-20 16:32:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length15
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,597,497
net_rshares0
@firstamendment ·
commenting so I can resteem later, if I remember and am able to.
properties (22)
authorfirstamendment
permlinkre-kenchung-question-mathematics-programming-competition-8-20171013t183929640z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 18:39:39
last_update2017-10-13 18:39:39
depth1
children2
last_payout2017-10-20 18:39:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length64
author_reputation2,418,296,227,484
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,606,599
net_rshares0
@kenchung ·
great :) thanks for joining
properties (22)
authorkenchung
permlinkre-firstamendment-re-kenchung-question-mathematics-programming-competition-8-20171015t090730809z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-15 09:07:30
last_update2017-10-15 09:07:30
depth2
children1
last_payout2017-10-22 09:07:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length27
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,733,501
net_rshares0
@firstamendment ·
It won't let me resteem. Timed out the other day.   Oh well.
properties (22)
authorfirstamendment
permlinkre-kenchung-re-firstamendment-re-kenchung-question-mathematics-programming-competition-8-20171015t152717937z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-15 15:27:21
last_update2017-10-15 15:27:21
depth3
children0
last_payout2017-10-22 15:27:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length60
author_reputation2,418,296,227,484
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,756,950
net_rshares0
@heimindanger ·
Answered!
properties (22)
authorheimindanger
permlinkre-kenchung-question-mathematics-programming-competition-8-20171013t161511314z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:15:12
last_update2017-10-13 16:15:12
depth1
children1
last_payout2017-10-20 16:15:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9
author_reputation-16,507,408,909,111
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,596,511
net_rshares0
@kenchung ·
thanks for joining!
properties (22)
authorkenchung
permlinkre-heimindanger-re-kenchung-question-mathematics-programming-competition-8-20171013t163028548z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:30:27
last_update2017-10-13 16:30:27
depth2
children0
last_payout2017-10-20 16:30:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length19
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,597,378
net_rshares0
@johnbakare ·
I hate maths, I'm probably lost here. Let me come and be going 🏃🏃🏃🏃🚶🚶
properties (22)
authorjohnbakare
permlinkre-kenchung-question-mathematics-programming-competition-8-20171013t153617457z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 15:36:30
last_update2017-10-13 15:36:30
depth1
children1
last_payout2017-10-20 15:36:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length69
author_reputation15,383,588,833
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,593,886
net_rshares0
@kenchung ·
sorry to hear that you hate maths, hopefully this question did not make you hate it more! haha
properties (22)
authorkenchung
permlinkre-johnbakare-re-kenchung-question-mathematics-programming-competition-8-20171013t163253442z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:32:54
last_update2017-10-13 16:32:54
depth2
children0
last_payout2017-10-20 16:32:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length94
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,597,546
net_rshares0
@justyy ·
$0.51
submitted, voted and resteeeeeeeeeeeeeeem!
👍  
properties (23)
authorjustyy
permlinkre-kenchung-question-mathematics-programming-competition-8-20171013t153722191z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 15:37:21
last_update2017-10-13 15:37:21
depth1
children1
last_payout2017-10-20 15:37:21
cashout_time1969-12-31 23:59:59
total_payout_value0.512 HBD
curator_payout_value0.001 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length42
author_reputation280,616,224,641,976
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,593,955
net_rshares213,631,877,314
author_curate_reward""
vote details (1)
@kenchung ·
thanks for joining (again) ! ;)
properties (22)
authorkenchung
permlinkre-justyy-re-kenchung-question-mathematics-programming-competition-8-20171013t162747736z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:27:48
last_update2017-10-13 16:27:48
depth2
children0
last_payout2017-10-20 16:27:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length31
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,597,255
net_rshares0
@justyy ·
$0.77
[Answer Here!](https://steemit.com/contest/@justyy/answer-mathematics-programming-competition-8)
👍  
properties (23)
authorjustyy
permlinkre-kenchung-question-mathematics-programming-competition-8-20171020t174626994z
categorycontest
json_metadata{"tags":["contest"],"links":["https://steemit.com/contest/@justyy/answer-mathematics-programming-competition-8"],"app":"steemit/0.1"}
created2017-10-20 17:46:30
last_update2017-10-20 17:46:30
depth1
children3
last_payout2017-10-27 17:46:30
cashout_time1969-12-31 23:59:59
total_payout_value0.764 HBD
curator_payout_value0.002 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length96
author_reputation280,616,224,641,976
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,149,541
net_rshares337,502,473,597
author_curate_reward""
vote details (1)
@speeding · (edited)
用一行python语句把这道题解了,我是不是疯了?
https://steemit.com/cn/@speeding/one-line-python-math-programming


print(int(sum(map(lambda d: 0.5 if d != ''.join(map(lambda i:'012xx59x86'[int(i)], d[::-1])) and ''.join(map(lambda i:'012xx59x86'[int(i)], d[::-1])) in ['%04d' % x for x in range(0, 10000)] else 1 , ['%04d' % x for x in range(0, 10000)]))))
properties (22)
authorspeeding
permlinkre-justyy-re-kenchung-question-mathematics-programming-competition-8-20171022t092830260z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1","links":["https://steemit.com/cn/@speeding/one-line-python-math-programming"]}
created2017-10-22 09:28:30
last_update2017-10-22 09:30:30
depth2
children2
last_payout2017-10-29 09:28:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length335
author_reputation1,172,222,545,920
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,284,113
net_rshares0
@justyy ·
这个可以有,PYTHON一向以一行代码解题著称,不过写出来的代码没有维护性,很难改,用于快速刷题可以的。
properties (22)
authorjustyy
permlinkre-speeding-re-justyy-re-kenchung-question-mathematics-programming-competition-8-20171022t095518265z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-22 09:55:21
last_update2017-10-22 09:55:21
depth3
children1
last_payout2017-10-29 09:55:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length52
author_reputation280,616,224,641,976
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,285,763
net_rshares0
@leedslemon ·
submitted one day later. Hope my answer is correct and luckily get the prize=]
btw I've use some excel function to do it. Hope my logic is correct haha.
properties (22)
authorleedslemon
permlinkre-kenchung-question-mathematics-programming-competition-8-20171014t172340910z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-14 17:23:42
last_update2017-10-14 17:23:42
depth1
children1
last_payout2017-10-21 17:23:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length152
author_reputation848,482,237,371
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,684,250
net_rshares0
@kenchung ·
ye I think it is possible to use Excel to solve this question :) hope that you can win!
properties (22)
authorkenchung
permlinkre-leedslemon-re-kenchung-question-mathematics-programming-competition-8-20171015t090822852z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-15 09:08:24
last_update2017-10-15 09:08:24
depth2
children0
last_payout2017-10-22 09:08:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length87
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,733,545
net_rshares0
@speeding ·
这期看起来比较简单,还是用程序方便
properties (22)
authorspeeding
permlinkre-kenchung-question-mathematics-programming-competition-8-20171015t000343539z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-15 00:03:42
last_update2017-10-15 00:03:42
depth1
children1
last_payout2017-10-22 00:03:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length17
author_reputation1,172,222,545,920
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,706,108
net_rshares0
@kenchung ·
沒錯,這次相對容易,總不能每次都設定得太困難,不然把大家都嚇走了,哈哈
properties (22)
authorkenchung
permlinkre-speeding-re-kenchung-question-mathematics-programming-competition-8-20171015t090942260z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-15 09:09:42
last_update2017-10-15 09:09:42
depth2
children0
last_payout2017-10-22 09:09:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length35
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,733,614
net_rshares0
@vincentyip ·
submitted my answer :)
luckily i saw your announcement 1 hour ago in the steemstem channel, so I can catch your post on time!
properties (22)
authorvincentyip
permlinkre-kenchung-question-mathematics-programming-competition-8-20171013t152430346z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 15:24:30
last_update2017-10-13 15:24:30
depth1
children1
last_payout2017-10-20 15:24:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length125
author_reputation2,393,663,768,357
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,593,019
net_rshares0
@kenchung ·
ye if you join the steemstem channel you would know the time of competition in advance!
properties (22)
authorkenchung
permlinkre-vincentyip-re-kenchung-question-mathematics-programming-competition-8-20171013t163007496z
categorycontest
json_metadata{"tags":["contest"],"app":"steemit/0.1"}
created2017-10-13 16:30:06
last_update2017-10-13 16:30:06
depth2
children0
last_payout2017-10-20 16:30:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length87
author_reputation41,181,348,504,685
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,597,356
net_rshares0
@vincentyip ·
my answer here: https://steemit.com/contest/@vincentyip/676hxw :)
properties (22)
authorvincentyip
permlinkre-kenchung-question-mathematics-programming-competition-8-20171021t091736970z
categorycontest
json_metadata{"tags":["contest"],"links":["https://steemit.com/contest/@vincentyip/676hxw"],"app":"steemit/0.1"}
created2017-10-21 09:17:36
last_update2017-10-21 09:17:36
depth1
children0
last_payout2017-10-28 09:17:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length65
author_reputation2,393,663,768,357
root_title"[Question] Mathematics × Programming Competition #8 [問題] 數學 × 程式編寫比賽 (第八回)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,203,262
net_rshares0