add printf huarongdao solution result#25
Open
zh597588308 wants to merge 1 commit intochenshuo:masterfrom
Open
Conversation
Signed-off-by: harryhao.zhang <harryhao.zhang@anker.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
今天周一,从头条上看到华容道的lambda的介绍。而上个周六周末我正在写华容道的程序,先用python写,运行得很慢,然后改用c实现,还是有点慢。看到推送之后,才发现一个是mask的使用,减少了局面,然后是这个lambda的实现比较巧妙,虽然可以运行,但是还是不太明白,没关系,能跑就行,看起来是跑得快。我的程序不是这样,是for循环解决的,如果加上mask,可能也很快,合并了你的程序之后,再验证吧。
这次上传的,是把华容道的结果打印出来,我重写了main, 调用了你的程序2次,一次计算结果,第二次打印,破解了我没有做出来的第四题,还蛮高兴。其实更想做的是,电脑自动展示运行过程,这个ui有点复杂,等会ui的人来做吧。
看到头条转发,这个消息是2013年就有了,好厉害。
https://www.toutiao.com/i6668809453782958595/?tt_from=weixin&utm_campaign=client_share&wxshare_count=1&from=singlemessage×tamp=1552731870&app=news_article&utm_source=weixin&isappinstalled=0&utm_medium=toutiao_ios&group_id=6668809453782958595
2019年3月18日,第一次做pull request 很开心!
Signed-off-by: harryhao.zhang zh597588308@sina.com