Loading [a11y]/accessibility-menu.js
2-tags-invalid-in-this-post aaa account account-activation account-creation account-recovery account-registration account-tickets acknowledgements actnearn adblue admin-menu ads adsblocker adsense adult-toy advertisement afternoon-tea agile agile-development ahmdal-law algorithm algorithms amazon american-express amex amp android-pay animal-drawing anniversary antibiotic antibiotics api apology app artificial-intelligence attributeerror audi authentication autumn babies backup baidu balance-transfer banding bank bank-of-china bankofchina baptism base64 bash bbq bcc beauty bedfordshire beer bible bicester bicycle-safety bing-wallpaper birthday birthday-party bisteemit bitasset bitcoin bitcoin-cash bitcoin-gold bitcoin-hd bitcoins blackmail-email block blockchain blockchain-overview blocktrades blog bluetooth blurt bmw-z4 bonfire bonfire-night boost bot bots bounty bowling boys-girls brainfuck brent-cross british-breakfast british-museum british-passport british-phd broadcast-error bruteforce bug bug-hunting bugs burndown-chart busy busyorg c-plusplus c-sharp cambridge cambridge-park camera camera-lens camping canon-lens car career cat certificates challenge chart chessboard childcare childhood children chinese chinese-characters chinese-chess christ christmas christmas-present chrome chrome-extension chrome-extensions chunwan cinderella cinema claim-account claim-rewards cloud-vps cloudflare cn cn-18 cn-2017 cn-bank cn-contest cn-cryptocurrency cn-curation cn-foodporn cn-love cn-members cn-midautumn cn-music cn-programming cn-reader cn-stats cn-tools code code-refactoring code-review codeonsteem coding coding-exercise coding-styles codingforspeed coinbase colour-lens comment-feed company-events complexity compound-effect compute-pi computing condenser contact-lens contest contests convert convertible copenhagen-diet copyright counting country-garden courtyard covid-19 cpp cracking-interview create-account credit-card credit-cards credit-report crocodile-farm crontab cryptocurrency csharp curation curator curl custom-json daigou dailychina data data-structures database date dblog ddos defensive-programming defuscator delegate delegation delegationhub delegator delphi-berlin delphi-starter dental dentist development diamondtoken discord discount doctor dota dota2 download-instagram doxxing dragon-boat drama drawing dream driving driving-insurance driving-othercars dtube dtube-farm dtube-lavender dvla dynamic-programming eat efs-24mm egg electricity-bill email en engineering entry-exams eos eq esteem event events everlasting-moments excel exchange-blast exercise exercise-daily extraction fairytale family family-bonding farm fashion fen-drayton fendrayton fever fiat fibre-broadband fifth-anniversary fight-spam finance-freedom firetrucks fireworks first-experience first-pay first-post fith-grade flat-tyres follow food football fractal framework free-fruits freelancer freespace full-node full-service fun fun-guess funny gadget game games gaming gardening gas-bill github giveaway god google gopro goto graduation graphics gratuity green-park guest-posts gym hacktoberfest halloween hamerton-zoo happy-kids happy-newyear happynewyear harddisk-review hardware hashtable health helloworld hf20 high-heel highheel hinchingbrooke history hive-180932 hmrc hospital house house-decorating house-price house-wife houses html https hubsan-drone huntingdon ico ide-tools ideas ifttt ilovecoding image-optimizer images incident include infant-schoolmeals information injection insurance-group insurance-types interests interview interview-question introduceourselves introduceyourself introduceyouself ip-address ip-addresses iphone-se java javascript jjm job-search job-searching jobs jogging jscript json justyy keyboard keyinput kids-imagination kses lake lassecash latex lavender learning lease-sp lease-steem leetcode legs lens life life-insurance linkedin linq linux load-balancer login logo logo-turtle logout london love luton luxury-shopping m3u8 machine-learning magic-number magik management markdown-table marlians marriage marryinuk mastercard math math-competition math-puzzle math-story mediaofficials meetup meipai-video memory mercede-benz miaopai-video microsoft microsoft-research midlife-crisis milking minnowbooster minnows minnowsupport moderator moments money mongdb monitors montecarlo-simulation mortgage-protector movie msscript multicolumn museum music music-school mute muted mysql natwest neoxian network network-infrastructure news nginx nhs nobrainer node nodejs nodes notification npm npm-js obfuscator offer offschool-policy ofo-cambridge ofsted old-macdonald online-offline online-tools open-source optimisation oracle-d outdoors overfitting paid-posts painting pal palnet parallel parallel-computing partiko passport password pathloss payout paypal paypal-credit paypal-fees pearvideo pengyouquan pension peppa-pig performance peterborough phd phd-process phd-scheme phd-thesis phone photo photo-api photography photos php php-checker php-image phpunit piano piles pingspeed pinyin plugins plusnet pm2 poker-game poloniex-wallet porn-https portrait powerdown powershell premium pretty preview primary-school privileged probability producer-reward profiler programmers programmers-chair programming programming-job project projects promo-china promo-cn promo-steem promo-steemit promo-utopian propagation pub pub-food pumpkin puzzles python qr-image qrimage quality-ham questions r-language r-programming radiowave radiowave-propagation railway random-picture ranking recall recovery-account recursion recycle-center red refund registration regulations replay reputation resilience resteem retro reward-account rewards rio-olympics robin-li robot rot47 roundup rpc rpc-node rss ruin-life rule-checker running saas sbd sbd-bitcoins sbd-steemit school-house schoold scriptcontrol scripting scriptingcontrol sct sct-cn sct-freeboard seagate-sshd security selfie selling seo server server-upgrade servers sevendaybnwchallenge shares sheffield shell shoes show-ip siblings sigmoid simplified-chinese singapore-vps slack smart-glasses sniper snow soft-fork software software-development software-engineer software-engineering solar-panel soup southend sp-lease spam spanish-serrano speeding-penalties sports spring-festival springfestival2017 spt sql sqlite ssh ssl-certificates st-ives statistics stats steem steem-account steem-accounts steem-api steem-apis steem-block steem-bug steem-couples steem-dev steem-engine steem-guides steem-information steem-js steem-node steem-nodes steem-payout steem-power steem-python steem-revenues steem-sql steem-stats steem-story steem-tips steem-tool steem-tools steem-tshirt steem-tutorial steem-ua steem-whale steem-witness steem-witnesses steemapi steemapp steemapps steemcoinpain steemconnect steemd steemdev steemhunt steemit steemit-api steemit-bug steemit-bugs steemit-stats steemit-witness steemitboard steemjs steemleo steempower steemsql steemstem steemtool steemtools steemvbs steemvoter stellar stock-option storage-sense stories story strawberry-picking street-portrait study study-room submit-button subsystem summative-record summer sunglass sushi swimming-pool table tags talks task-development task-request task-runner tatoo tdd tea-break teaching team-building teamsteem teamviewer tech-news technical-debt technology tesco testing the-fox the-invalid-tags threatening tips-uk title-register toilet-flush token tomyam-soup tools traditional-chinese traffic translation translator travel travel-document trends-website triangle turtle-graphics tutorial tutorials twenty-seventeen twitter two-boys tyres ua ubuntu uk uk-bank uk-creditcard uk-freelunch uk-gp uk-hospital uk-nursey uk-pub uk-pupils uk-taxcode unit-test unit-testing unit-tests upfundme upvote upvoting-bot url url-shortener utopian utopian-api utopian-bots utopian-bugs utopian-io utopianmodintro valentine valentines vbs vbscript vertical-monitors vessel video video-download video-downloader vintage-computers visa visa-debit voting-bot vps vr wallet wallet-tool wallets warning wasted-food web-tool wechat wechat-bot wechat-group wedding weechat weedkiller weibo-video weibomiaopai weight-control weight-loss wfh whalepower whales whatis-1024 wherein wherein-daka win32 windows windscreen-replacement windsor-castle wipe-disk wireless wireless-attenuation wireless-propagation wirex witness witness-category witness-cateogry witness-factor witness-news witness-node witness-nodes witness-page witness-plugins witness-proxy witness-ranking witness-report witness-server witness-servers witness-tool witness-tools witness-update witness-votes wordpress wordpress-themes work workfromhome writing wubi wxt xargs xiaokaixiu year2016 youtube yoyow zcash zenefit zoo zram zurich-insurance zzan

微信群好友文章列表(网页,JSON API, RSS Feed 2.0)永久免费给大家使用 - Wechat Group Sortable Rss Feed (API, RSS Feed and Web UI)

English Version

I have created the following :

昨天在开发 微信机器人的时候就 和 @jubi 的想到一块了,既然已经有了微信群好友名单(通过以下API),为什么不弄个文章RSS列表

https://uploadbeta.com/api/steemit/wechat/?cached

白天的时候想了一整天,构思框架(主要是性能和易用性),今晚弄了2小时(没时间陪媳妇孩子),总算弄出来了:

JSON API

这个API用于返回最近3天(之后如果不太够用,可以增加至7天)微信群的好友文章列表。返回的信息有: 文章,点赞数,收益,时间,内容,标签 等

https://uploadbeta.com/api/steemit/wechat/feed/?cached

这是一个数组,每个数组元素是一个字典,对应一篇文章,字段有:

  • author
  • title
  • url
  • created
  • comments
  • categories
  • tags
  • net_votes
  • body
  • reward

参数

API 支持以下三个参数: sort, allow 和 disallow.

sort 参数指定结果输出的排序方法默认是按时间排序(time) 还可以是按点赞数排序(votes) 或者是按 收益排序 (rewards)。

allow 是指定名单:默认为空则输出所有好友。可以按逗号隔开ID,比如 justyy,tumutanzi

disallow 是黑名单:比如不想看 justyy 就可以传入 disallow=justyy

举三个例子用于说明:

这个API用了Cloudflare CDN 加速,缓存每小时更新一次,源数据源每2小时生成一次数据。

RSS 2.0 Feed

可以通过:

https://uploadbeta.com/api/steemit/wechat/feed/rss/?cached

来在各大RSS阅读器里导入文章列表(同时也支持以上的三个参数

比如我用 feedly 只导入我的文章:

效果如下:

WEB 阅读器 UI

最后,你可以用 我开发的WEB图形界面来阅读文章列表,可以按收益或者点赞排序,当然同时也支持以上的三个参数

比如:

显示所有文章:https://helloacm.com/tools/steemit/wechat/rss/
显示我和坛子的文章:https://helloacm.com/tools/steemit/wechat/rss/?allow=justyy,tumutanzi

是不是很好用?有木有?

Originally published at https://steemit.com Thank you for reading my post, feel free to Follow, Upvote, Reply, ReSteem (repost) @justyy which motivates me to create more quality posts.

原文首发于 https://Steemit.com 首发。感谢阅读,如有可能,欢迎Follow, Upvote, Reply, ReSteem (repost) @justyy 激励我创作更多更好的内容。

// Later, it will be reposted to my blogs: justyy.com, helloacm.com and codingforspeed.com 稍后同步到我的中文博客和英文计算机博客

近期热贴

Recent Popular Posts


Tags: cn cn-programming wechat steemit rss


This page is synchronized from the post: 微信群好友文章列表(网页,JSON API, RSS Feed 2.0)永久免费给大家使用 - Wechat Group Sortable Rss Feed (API, RSS Feed and Web UI)

Daily Top 30 Authors in [CN] 每日cn社区之【请再给我一次机会】+【过去7天潜在收益排行榜】 (2017-09-04)

数据来源: steemsql.com
生成时间: 2017-09-04 11:11:04 (UTC)
报告时间: 2017-08-31 11:11:04 (UTC) to 2017-09-01 11:11:04 (UTC)

2017-09-04 每日cn社区之 请再给我一次机会


(图片来源于网络)
| | 作者 Author| 文章 Post|
|———-|:————-:|:——|
| 1 | @bring | 你不是在合群,而是在浪费青春 You are not Gregarious, but Wasting Your Youth |
| 2 | @goodv123 | 如果 非要給這愛加一個期限的話,我希望是一萬年 // 如果 非要给这爱加一个期限的话,我希望是一万年 #5电影 “谷哥點名”第五期 |
| 3 | @incrediblesnow | 長江7號 “谷哥點名”#5 电影 |
| 4 | @nationalpark | 春梦了无痕 |
| 5 | @bestmz | 那一瞬间我相信是爱情 |
| 6 | @bigyellow | 浅谈电影《悟空传》 |
| 7 | @blacktranquility | 那拥挤的路口 |
| 8 | @cornelia | 大话西游,向经典电影致敬 |
| 9 | @blacktranquility | 在咸鱼网上把自行车卖了~也有些舍不得 |
| 10 | @tvb | Original poetry:《浪淘沙·烟火人间【七夕征文】》 |
符合条件的文章总数: 17

2017-09-04 Daily Authors in [CN] (Last 7 Days) 每日cn社区之 过去7天潜在收益排行榜

The following is the list of top 30 daily authors in [CN] in the last 7 days sorted by potential payout. See the SQL for more details.
这是根据这篇的SQL - 经少量修改和调整统计出过去7天作者的潜在收益排行。
| 排名 Rank| 作者 Author| 发贴数 Posts| 点赞数 Votes| 潜在收益 Pending Payout| 平均每贴收益 Average Pending Payout Per Post|
|–:|–:|–:|–:|—:|—:|
| 1| @oflyhigh | 8 | 2680 | 2336.64 |292.08 |
| 2| @rivalhw | 8 | 1645 | 2045.90 |255.74 |
| 3| @deanliu | 7 | 1786 | 1644.52 |234.93 |
| 4| @sweetsssj | 2 | 2887 | 1214.63 |607.31 |
| 5| @linuslee0216 | 7 | 1039 | 1198.43 |171.20 |
| 6| @htliao | 6 | 1106 | 1117.43 |186.24 |
| 7| @chinadaily | 26 | 1912 | 1059.97 |40.77 |
| 8| @myfirst | 5 | 737 | 1045.94 |209.19 |
| 9| @elfkitchen | 6 | 1017 | 1041.47 |173.58 |
| 10| @tumutanzi | 6 | 926 | 995.87 |165.98 |
| 11| @justyy | 19 | 1475 | 939.75 |49.46 |
| 12| @bxt | 7 | 736 | 908.93 |129.85 |
| 13| @blackbunny | 6 | 626 | 885.74 |147.62 |
| 14| @joythewanderer | 8 | 818 | 879.09 |109.89 |
| 15| @jubi | 9 | 900 | 873.33 |97.04 |
| 16| @kitcat | 8 | 848 | 828.27 |103.53 |
| 17| @birds90 | 7 | 887 | 802.98 |114.71 |
| 18| @btsabc | 6 | 576 | 793.95 |132.32 |
| 19| @someone | 3 | 674 | 719.25 |239.75 |
| 20| @liflorence | 7 | 658 | 707.03 |101.00 |
| 21| @twinkledrop | 4 | 531 | 677.01 |169.25 |
| 22| @rea | 2 | 884 | 644.81 |322.41 |
| 23| @travelgirl | 14 | 1049 | 640.12 |45.72 |
| 24| @ace108 | 28 | 2428 | 626.57 |22.38 |
| 25| @aaronli | 6 | 691 | 619.48 |103.25 |
| 26| @victorier | 6 | 700 | 614.38 |102.40 |
| 27| @wilkinshui | 6 | 638 | 602.96 |100.49 |
| 28| @jademont | 3 | 400 | 577.52 |192.51 |
| 29| @krischy | 3 | 776 | 575.80 |191.93 |
| 30| @stacee | 4 | 492 | 572.54 |143.13 |

以上收益包括75%的作者收益(Author Rewards)和25%的点赞收益(Curation Rewards)。
@dailystats 提供过去7天全网潜在收益前30名的排名
check @dailystats for top 30 daily authors in the last 7 days sorted by potential payout

每日’请再给我一次机会’ 排行榜几点说明:

  • 虽然现在是人工查询,但不排除以后使用机器人 或者一半机器人一半人工的方式生成报表。
  • 取的是发贴在3 到4天前的 10个较少收益(较少被关注)的帖子。
  • 为了避嫌,生成的结果去掉了 我自己的帖子 @justyy
  • 为了壮大 cn 社区,只选择 第一个标签为 cn 的文章。
  • 有可能会微调参数让结果更合理。
  • 查询SQL语句和参数暂时不公开,因为这样会更公平一些。
  • 以后可能会在每日榜单里加入一些其它的有意思的排行榜。
  • 这个不是荣誉榜!但希望这能帮到你!

这个报告的年龄为: 10天。 i.e. 发布的第一天, 发布的第二天
为什么要有这个报告?
欢迎 @justyy 如果您有好的建议或者想看哪些榜单却找不到。
Tags: #cn


This page is synchronized from the post: Daily Top 30 Authors in [CN] 每日cn社区之【请再给我一次机会】+【过去7天潜在收益排行榜】 (2017-09-04)

微信公众号(justyyuk)机器人支持 STEEM 查询啦 Wechat bot now supports inquiry for SteemIt Accounts.

English Version

The wechat bot (justyyuk) now supports Inquiry for Steem Accounts.

之前把API给放出来,能做的事情就很多了。比如我就在我的公众号上加上了STEEM 查询。

查询的时候只需要给公众号发 @steemid 就可以了。这时候 这公众号就会去服务器去取API数据。服务器在英国,一天两次更新数据到缓存,而API只是异步的去取这些数据,所以速度会非常的快,加之API被CloudFlare CDN 缓存于世界各节点 (Edge Servers), 所以延时特别的小。

总之API:

https://uploadbeta.com/api/steemit/wechat/?cached

返回每天微信群好友的 STEEM 的帐户数据,然后已经在三个地方被使用了:

Originally published at https://steemit.com Thank you for reading my post, feel free to Follow, Upvote, Reply, ReSteem (repost) @justyy which motivates me to create more quality posts.

原文首发于 https://Steemit.com 首发。感谢阅读,如有可能,欢迎Follow, Upvote, Reply, ReSteem (repost) @justyy 激励我创作更多更好的内容。

// Later, it will be reposted to my blogs: justyy.com, helloacm.com and codingforspeed.com 稍后同步到我的中文博客和英文计算机博客

近期热贴

Recent Popular Posts


Tags: cn cn-programming wechat-bot steemit


This page is synchronized from the post: 微信公众号(justyyuk)机器人支持 STEEM 查询啦 Wechat bot now supports inquiry for SteemIt Accounts.

Daily Top 30 Authors in [CN] 每日cn社区之【请再给我一次机会】+【过去7天潜在收益排行榜】 (2017-09-03)

数据来源: steemsql.com
生成时间: 2017-09-03 11:11:28 (UTC)
报告时间: 2017-08-30 11:11:28 (UTC) to 2017-08-31 11:11:28 (UTC)

2017-09-03 每日cn社区之 请再给我一次机会


(图片来源于网络)
| | 作者 Author| 文章 Post|
|———-|:————-:|:——|
| 1 | @superhardness | 有点泥土气息的“爱情故事”(第三篇) |
| 2 | @bigyellow | 行车安全,你真的足够重视吗? |
| 3 | @nationalpark | 春梦了无痕 |
| 4 | @blacktranquility | Gmail是最受欢迎的免费邮箱 |
| 5 | @lalalareb | 大家好这是我第一天玩SteemIt ! Hello everybody it’s my first day posting in SteemIt ! |
| 6 | @blacktranquility | can not bully xiaobai like this…小谈我是怎么忘记我的第一个steemit账户的 |
| 7 | @cornelia | 大话西游,向经典电影致敬 |
| 8 | @mrspointm | 献给所有:曾经逝去,正在拥有,即将发生,却从未离开过我们的,爱情。▏谷歌点名 # 5: 电影 |
| 9 | @blacktranquility | 在咸鱼网上把自行车卖了~也有些舍不得 |
| 10 | @bestmz | 还记得我们曾经是“小皇帝”吗 |
符合条件的文章总数: 21

2017-09-03 Daily Authors in [CN] (Last 7 Days) 每日cn社区之 过去7天潜在收益排行榜

The following is the list of top 30 daily authors in [CN] in the last 7 days sorted by potential payout. See the SQL for more details.
这是根据这篇的SQL - 经少量修改和调整统计出过去7天作者的潜在收益排行。
| 排名 Rank| 作者 Author| 发贴数 Posts| 点赞数 Votes| 潜在收益 Pending Payout| 平均每贴收益 Average Pending Payout Per Post|
|–:|–:|–:|–:|—:|—:|
| 1| @oflyhigh | 7 | 2201 | 2140.95 |305.85 |
| 2| @rivalhw | 7 | 1457 | 1859.52 |265.65 |
| 3| @deanliu | 6 | 1543 | 1275.05 |212.51 |
| 4| @htliao | 6 | 1094 | 1214.30 |202.38 |
| 5| @sweetsssj | 2 | 2333 | 1159.22 |579.61 |
| 6| @myfirst | 5 | 898 | 1135.34 |227.07 |
| 7| @chinadaily | 27 | 1992 | 1115.10 |41.30 |
| 8| @blackbunny | 6 | 780 | 1092.26 |182.04 |
| 9| @elfkitchen | 6 | 1000 | 1025.91 |170.99 |
| 10| @linuslee0216 | 7 | 893 | 1015.07 |145.01 |
| 11| @tumutanzi | 6 | 948 | 985.95 |164.33 |
| 12| @joythewanderer | 9 | 840 | 917.44 |101.94 |
| 13| @bxt | 7 | 687 | 908.87 |129.84 |
| 14| @justyy | 19 | 1436 | 869.92 |45.79 |
| 15| @twinkledrop | 4 | 662 | 849.62 |212.40 |
| 16| @kitcat | 7 | 784 | 849.22 |121.32 |
| 17| @jubi | 9 | 846 | 809.24 |89.92 |
| 18| @liflorence | 7 | 658 | 794.28 |113.47 |
| 19| @stacee | 4 | 646 | 786.10 |196.52 |
| 20| @someone | 4 | 736 | 754.78 |188.69 |
| 21| @birds90 | 6 | 765 | 710.88 |118.48 |
| 22| @wilkinshui | 6 | 739 | 708.64 |118.11 |
| 23| @rea | 2 | 868 | 662.70 |331.35 |
| 24| @btsabc | 5 | 463 | 647.74 |129.55 |
| 25| @travelgirl | 15 | 1082 | 643.46 |42.90 |
| 26| @aaronli | 6 | 655 | 627.93 |104.66 |
| 27| @yyyy | 4 | 383 | 616.75 |154.19 |
| 28| @nicolemoker | 3 | 649 | 613.12 |204.37 |
| 29| @victorier | 6 | 709 | 610.14 |101.69 |
| 30| @ace108 | 26 | 2263 | 605.57 |23.29 |

以上收益包括75%的作者收益(Author Rewards)和25%的点赞收益(Curation Rewards)。
@dailystats 提供过去7天全网潜在收益前30名的排名
check @dailystats for top 30 daily authors in the last 7 days sorted by potential payout

每日’请再给我一次机会’ 排行榜几点说明:

  • 虽然现在是人工查询,但不排除以后使用机器人 或者一半机器人一半人工的方式生成报表。
  • 取的是发贴在3 到4天前的 10个较少收益(较少被关注)的帖子。
  • 为了避嫌,生成的结果去掉了 我自己的帖子 @justyy
  • 为了壮大 cn 社区,只选择 第一个标签为 cn 的文章。
  • 有可能会微调参数让结果更合理。
  • 查询SQL语句和参数暂时不公开,因为这样会更公平一些。
  • 以后可能会在每日榜单里加入一些其它的有意思的排行榜。
  • 这个不是荣誉榜!但希望这能帮到你!

这个报告的年龄为: 9天。 i.e. 发布的第一天, 发布的第二天
为什么要有这个报告?
欢迎 @justyy 如果您有好的建议或者想看哪些榜单却找不到。
Tags: #cn


This page is synchronized from the post: Daily Top 30 Authors in [CN] 每日cn社区之【请再给我一次机会】+【过去7天潜在收益排行榜】 (2017-09-03)

聂小倩 (1)| #5电影

记得初二的时候一天晚自习后到学校小卖部买点吃的,电视机上放的《倩女幽魂(1)》,我一下子就迷上了。这电影真是暴露年龄(1987年上映)。

那是个很简单的故事,聂小倩是个女鬼,被姥姥给控制住专门吸取男人魂魄,身不由已。但她却和纤弱书生相爱了。结局很凄惨却带点美好和希望:书生帮助小倩脱离魔爪而投胎,但是他和她却阴阳相隔重此不能相见。我很长一段时间很恨导演为什么不给一个美好的结局,难道得不到却是最好的?

很纠心,小倩给我童年留下了深刻的印象,以至于之后的很长一段学生生涯里我总会想起聂小倩,总会想起那哀怨的爱情故事。王祖贤饰演的聂小倩真是美得是一个时代的传奇。你再美能美得过王祖贤么?

我特别喜欢的几个镜头:

聂小倩在试嫁衣,她就要被许配给黑山老妖了。

书生躲在洗澡盆里(姥姥能闻出人味)当时真羡慕张国荣^^

小倩和书生在永远分开前的那一晚。

十里平湖霜满天,
寸寸青丝愁华年。
对月形单望相护,
只羡鸳鸯不羡仙。

王祖贤饰演的聂小倩就如六小灵童的孙悟空一样无可被取代。这电影的配乐也一样的凄美,没有看过的90后甚至是00后的朋友们一定不要错过。

最后放上YOUTUBE 电影地址(侵删):
https://www.youtube.com/watch?v=mopnjEbTOhk

Originally published at https://steemit.com Thank you for reading my post, feel free to Follow, Upvote, Reply, ReSteem (repost) @justyy which motivates me to create more quality posts.

原文首发于 https://Steemit.com 首发。感谢阅读,如有可能,欢迎Follow, Upvote, Reply, ReSteem (repost) @justyy 激励我创作更多更好的内容。

// Later, it will be reposted to my blogs: justyy.com, helloacm.com and codingforspeed.com 稍后同步到我的中文博客和英文计算机博客

近期热贴

Recent Popular Posts


Tags: #cn #cn-reader #movie #cn-contest #love


This page is synchronized from the post: 聂小倩 (1)| #5电影

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

@kenchung 第五次比赛 #steemstem, 题目主要是A到P 16个字母填到4X4的格子中,1-16只能各用一次,并且有12个条件。
Quesiton: https://steemit.com/contest/@kenchung/question-mathematics-programming-competition-5

Solution:
16 integers, but the total combination is huge i.e. 16! (A has 16 possibilities, B has 15 possibilities and so on).

如果不算条件限制,一共有16!种方案,比如第一格可以填1-16,第二格可以有15种可能,第三格14种 以此类推….

The good thing is that we have a few of restrictions such as A can only be 2, 4, 6 or 8 and etc. Therefore, we can loop just few variables and base on pre-known conditions to get the values of others.

还好有些条件限制,我们可以穷举未知变量,然后通过已知的条件来推算出其它的变量。

The following JS code is ugly, which implements the bruteforce search, however it works.. Let me think of better ways to write it and I’d share with you in a few days time.

下面的JS代码比较丑,我并不是很喜欢,但它却可以很有效的算出这些值,让我这几天想想怎么把它变好看。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

//4,6,13,15,10,16,9,7,12,2,8,5,3,14,1,11

for (var a = 2; a <= 8; a += 2) {
var l = 9 - a;
var g = 13 - a;
var k = 12 - a;
if (k == a) {
continue;
}
if ((k != 2) && (k != 4) && (k != 6) && (k != 8)) {
continue;
}
var b = 14 - k;
if ((b == a) || (b == k)) {
continue;
}
if ((b != 2) && (b != 4) && (b != 6) && (b != 8)) {
continue;
}
var o = 9 - k;
var m = 9 - b;
for (var j = 2; j <= 8; j += 2) {
if ((j != a) && (j != b) && (j != k)) {
// c, d, e, f, h, i, n, p
// c + p = 24
// d + e = 25
// |e - n| = 4
// e + f = 26
// c + i = 25
console.log('a = ' + a);
console.log('b = ' + b);
console.log('g = ' + g);
console.log('k = ' + k);
console.log('o = ' + o);
console.log('m = ' + m);
console.log('j = ' + j);
console.log('l = ' + l);
for (var c = 1; c <= 16; c ++) {
if ((c != a) && (c != b) && (c != g) && (c != k) && (c != o) && (c != m) && (c != j) && (c != l)) {
var p = 24 - c;
if (c == p) continue;
if ((p < 1) || (p > 16)) continue;
var i = 25 - c;
if ((i < 1) || (i > 16)) continue;
for (d = 1; d <= 16; d ++) {
if ((d != c) && (d != a) && (d != b) && (d != g) && (d != k) && (d != o) && (d != m) && (d != j) && (d != l)) {
var e = 25 - d;
if ((e < 1) || (e > 16)) continue;
var f = 26 - e;
if ((f < 1) || (f > 16)) continue;
n = e + 4;
if ((n < 1) || (n > 16)) continue;
if (
(i == n) ||
(n == f) ||
(i == d) ||
(p == k) ||
(n == k) ||
(n == b) ||
(e == f) ||
(p == e) ||
(i == f) ||
(p == f) ||
(p == n) ||
(p == g) ||
(c == f)
) {
continue;
}
console.log("p = " + p);
console.log("i = " + i);
console.log("n = " + n);
console.log("e = " + e);
console.log("f = " + f);
console.log("c = " + c);
console.log("d = " + d);
}
}
}
}
}
}
}

This outputs:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
a = 4
b = 6
g = 9
k = 8
o = 1
m = 3
j = 2
l = 5
p = 11
i = 12
n = 14
e = 10
f = 16
c = 13
d = 15
[Finished in 0.7s]

Wait, the h is not printed (in the 12 pre-known relations, h is not specified)… but you know what to do. ;)

h 值没有被打出来,因为这是唯一一个没有给定限制条件的变量,不过你应该知道怎么做了。

Originally published at https://steemit.com Thank you for reading my post, feel free to Follow, Upvote, Reply, ReSteem (repost) @justyy which motivates me to create more quality posts.

原文首发于 https://Steemit.com 首发。感谢阅读,如有可能,欢迎Follow, Upvote, Reply, ReSteem (repost) @justyy 激励我创作更多更好的内容。

// Later, it will be reposted to my blogs: justyy.com, helloacm.com and codingforspeed.com 稍后同步到我的中文博客和英文计算机博客

近期热贴

Recent Popular Posts


Tags: #cn #cn-programming #programming #steemstem


This page is synchronized from the post: Bruteforce Solution to Mathematics × Programming Competition #5 暴力搜索[問題] 數學 × 程式編寫比賽 (第五回)

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×