Replies: 0 comments 3 replies
-
有没有比o(n)更好的算法啊? |
Beta Was this translation helpful? Give feedback.
0 replies
-
这要算总和的,不遍历一遍,应该做不到。更重要的是,这种不复杂的指令,远比读取快,所以O(N)的方法绝对不是瓶颈了。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
多谢大佬回答 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://oliverlew.github.io/PAT/Basic/1047.html
题目
Beta Was this translation helpful? Give feedback.
All reactions