TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

C++ Sudoku Solver by Singapore PM Lee Hsien Loong

74 点作者 georgehill超过 1 年前

6 条评论

joak超过 1 年前
Similar story, or even more impressive, since the code was written in emergency and actually useful:<p><a href="https:&#x2F;&#x2F;www.wired.com&#x2F;story&#x2F;how-taiwans-unlikely-digital-minister-hacked-the-pandemic&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.wired.com&#x2F;story&#x2F;how-taiwans-unlikely-digital-min...</a>
评论 #38146617 未加载
joak超过 1 年前
This is a 7 years old news, cool nonetheless.<p><a href="https:&#x2F;&#x2F;arstechnica.com&#x2F;information-technology&#x2F;2015&#x2F;05&#x2F;prime-minister-of-singapore-shares-his-c-code-for-sudoku-solver&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;arstechnica.com&#x2F;information-technology&#x2F;2015&#x2F;05&#x2F;prime...</a>
yen223超过 1 年前
One of his kids is Li Haoyi. If you&#x27;re into the Scala ecosystem, you might recognise that name.
评论 #38147147 未加载
tralarpa超过 1 年前
Looks more like old-school C to me, although the variable names are a bit too long for a real C programmer :)<p>(but I don&#x27;t know whether C already had the &quot;const&quot; keyword at that time)
评论 #38144578 未加载
评论 #38144651 未加载
butz超过 1 年前
We should make mandatory for EU parliament members to have written at least simple sudoku solver, before writing new laws like chat control.
评论 #38150646 未加载
daxfohl超过 1 年前
He graduated Oxford with honors in CS and math, so.<p>Also notable, the mayor of Bucharest is a two time perfect scorer on the imo math olympiad. <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Nicu%C8%99or_Dan" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Nicu%C8%99or_Dan</a>
评论 #38151858 未加载