笔记
# Not Found 404
这个作者很懒,什么都没留下…
展开
-
2021-08-24
leetCode金典 https://leetcode-cn.com/problems/buddy-strings/ https://leetcode-cn.com/problems/candy/ https://leetcode-cn.com/problems/container-with-most-water/ https://leetcode-cn.com/problems/detect-pattern-of-length-m-repeated-k-or-more-times/ https://lee原创 2021-08-24 10:40:35 · 71 阅读 · 0 评论 -
2021-07-12
计算f(x) = x*x - 20x + 100 的最小值及取最小值时的x #include #include #include using namespace std; #define C1 2 #define C2 2 #define VMAX 5.0 #define MAX_ITERATIONS 100 float rand01() { return (float) (rand()/(double)RAND_MAX); } struct particle{ float current; floa原创 2021-07-12 18:36:26 · 94 阅读 · 0 评论