Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是不是AI运行时间的计算有什么问题呢? #27

Closed
SakuraSa opened this issue Dec 5, 2014 · 3 comments
Closed

是不是AI运行时间的计算有什么问题呢? #27

SakuraSa opened this issue Dec 5, 2014 · 3 comments

Comments

@SakuraSa
Copy link

SakuraSa commented Dec 5, 2014

为什么这样的代码依旧比对方耗时要长呢?
my code

@luin
Copy link
Owner

luin commented Dec 5, 2014

他好像是硬编码的,而且虽然不多,但 print 本身也会消耗时间。其次就是 30ms 太短了,干扰因素会很多


Sent from Mailbox

On Fri, Dec 5, 2014 at 6:56 PM, SakuraSa notifications@github.com wrote:

为什么这样的代码依旧比对方耗时要长呢?

my code

Reply to this email directly or view it on GitHub:
#27

@typcn
Copy link

typcn commented Dec 5, 2014

你直接 return 绝壁比他快

@luin
Copy link
Owner

luin commented Dec 5, 2014

最快的是 go(128)


Sent from Mailbox

On Fri, Dec 5, 2014 at 7:00 PM, Niu Tengyu notifications@github.com
wrote:

你直接 return 绝壁比他快

Reply to this email directly or view it on GitHub:
#27 (comment)

@SakuraSa SakuraSa closed this as completed Dec 5, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants