
代码分享
yishan_hit
爬虫、java后端
展开
-
快速排序算法c++实现
#include <stdio.h> #include <stdlib.h> #include <time.h> #define RANDOM_INIT() srand(time(NULL)) #define RANDOM(L, R) (L + rand() % ((R) - (L) + 1)) // gen a random integer in [L, R] /** * Email 956324914@qq.com * Author xlf */ /**原创 2021-04-17 21:22:09 · 103 阅读 · 0 评论 -
归并排序算法的c++实现
#include <stdio.h> #include <stdlib.h> #include <time.h> /** * Email 956324914@qq.com * Author xlf */ /** * Merge functions merges the two sorted parts. Sorted parts will be from [left, mid] and [mid+1, right]. */ template<t原创 2021-04-17 20:34:03 · 98 阅读 · 0 评论 -
python的tkinter使用实例 适合零基础者食用
话不多说,直接上代码: """ @Author xlf @Team occamedu @Email 956324914@qq.com @Time 2021/4/16 11:05 """ import tkinter as tk import tkinter.messagebox import pickle from tkinter import * from sys import exit # 第1步,实例化object,建立窗口window from tkinter i原创 2021-04-16 21:33:29 · 3054 阅读 · 0 评论