代码分享
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 · 76 阅读 · 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 · 70 阅读 · 0 评论 -
python的tkinter使用实例 适合零基础者食用
话不多说,直接上代码:""" @Author xlf @Team occamedu @Email 956324914@qq.com @Time 2021/4/16 11:05"""import tkinter as tkimport tkinter.messageboximport picklefrom tkinter import *from sys import exit# 第1步,实例化object,建立窗口windowfrom tkinter i原创 2021-04-16 21:33:29 · 2974 阅读 · 0 评论