摘要: 嗯。。。如果直接在文章里面找的话,会很麻烦。。。反正我自己是没找到的。 可以在两个数据库中找到需要的文章,之后把文章名字复制,用百度学术搜索 或者 Google学术搜索 找到之后,点击搜索结果下面的引用即可 另,推荐一个网址,虫部落。网址: https://search.chongbuluo.com 阅读全文

posted @ 2020-10-22 15:19 黑炽 阅读(2013) 评论(0) 推荐(0) 编辑

2022年1月31日

摘要: http://m.biancheng.net/pygame/ 阅读全文

posted @ 2022-01-31 09:00 黑炽 阅读(69) 评论(0) 推荐(0) 编辑

2022年1月20日

摘要: https://blog.csdn.net/jackandsnow/article/details/103885422 阅读全文

posted @ 2022-01-20 15:18 黑炽 阅读(84) 评论(0) 推荐(0) 编辑

2020年11月5日

摘要: 1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 #define mod 1000 5 6 int rapidly_power(int base, int power); 7 8 int main(void) { 9 in 阅读全文

posted @ 2020-11-05 21:02 黑炽 阅读(88) 评论(0) 推荐(0) 编辑

摘要: 注意点 int a[10][4]这个里面的元素处理,while里面的if 当时没想到这种 。。。 我竟然 傻傻的把元素都补够四个,然后寻找”大规律“。。。 1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 5 int ma 阅读全文

posted @ 2020-11-05 20:31 黑炽 阅读(105) 评论(0) 推荐(0) 编辑

摘要: 1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 5 void print_reverse(char a[], int k); 6 void swap(char& a, char& b); 7 8 int main(voi 阅读全文

posted @ 2020-11-05 16:54 黑炽 阅读(318) 评论(0) 推荐(0) 编辑

2020年10月25日

摘要: https://www.zhihu.com/question/362594422 知乎 可以成功的 阅读全文

posted @ 2020-10-25 17:36 黑炽 阅读(846) 评论(0) 推荐(0) 编辑

摘要: 1 from random import randint 2 3 4 def bubble_sort(number, i, j): 5 global flag # 只要第一次输出结果 6 7 if i == len(number): # 主要从1 len-1 是len-1次外循环 可了 8 if f 阅读全文

posted @ 2020-10-25 12:45 黑炽 阅读(440) 评论(0) 推荐(0) 编辑

2020年10月23日

摘要: 1 class Solution: 2 def sortArray(self, nums: List[int]) -> List[int]: 3 self.quickSort(nums, 0, len(nums)-1) 4 return nums 5 6 def quickSort(self, nu 阅读全文

posted @ 2020-10-23 21:16 黑炽 阅读(53) 评论(0) 推荐(0) 编辑

摘要: 1 def quickSort(arr, left=None, right=None): 2 left = 0 if not isinstance(left, (int, float)) else left#如果left不属于int和float范围,那么left=0,属于就还是原来的值 3 righ 阅读全文

posted @ 2020-10-23 20:36 黑炽 阅读(151) 评论(0) 推荐(0) 编辑

摘要: 1 for i in range(len(nums)-1): 2 minIndex = i#每次找到最小的,放未排序的最前面 3 for j in range(i+1, len(nums)): 4 if nums[j] < nums[minIndex]: 5 minIndex = j 6 if mi 阅读全文

posted @ 2020-10-23 20:09 黑炽 阅读(134) 评论(0) 推荐(0) 编辑