Skip to content

Instantly share code, notes, and snippets.

@lengyijun
Last active September 22, 2020 07:01
Show Gist options
  • Save lengyijun/0c64674461af840e76c33b0b0c3bbf19 to your computer and use it in GitHub Desktop.
Save lengyijun/0c64674461af840e76c33b0b0c3bbf19 to your computer and use it in GitHub Desktop.
不要用rar压缩.用zip或者tar.gz
不要把编译后的文件传上来,节省网络中心的压力.一般写一个cpp就够了,很难想象需要.h和其他cpp
想办法降低复杂度.prime复杂度不到 根号n 的都扣了2分
O(n/2)=O(n),只循环一半没用的
求个阶乘的事情,不要用递归,效率会很差的.用循环写.随机扣了分
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment