摘要:
回溯法贪心法求旅行商问题 阅读全文
摘要:
import cv2 from PIL import Image,ImageFont,ImageDraw import os from cv2 import VideoWriter, VideoWriter_fourcc, imread, resize # #coding:UTF-8 # 视频转字符 阅读全文
摘要:
老规矩,先上代码 # -*- coding: utf-8 -*import pandas as pdimport matplotlib.pyplot as pltimport requestsimport sys import time from bs4 import BeautifulSoup i 阅读全文
摘要:
import xlrd import random import pandas as pd import matplotlib.pyplot as plt import matplotlib.animation as animation def random_color():#返回随机颜色 colo 阅读全文
摘要:
num=[1,3,6,7,9,10,14,15] s="abcabcbb" def two_part(num,target): left=0 right=len(num)-1 while(left<=right): mid=(left+right)//2 if num[mid]<target:lef 阅读全文
摘要:
#!/usr/bin/python3 # -*- coding: utf-8 -*- import random from tkinter import * from tkinter import messagebox from PIL import Image cheng=["刘备","关羽"," 阅读全文
摘要:
#!/usr/bin/python3 # -*- coding: utf-8 -*- import random,os from tkinter import * from tkinter import messagebox def on_click(): global var var=String 阅读全文
摘要:
import requests import linecache import wordcloud import jieba import matplotlib.pyplot as plt from bs4 import BeautifulSoup if __name__=="__main__": 阅读全文
摘要:
破圈法求最小生成树+最小生成树与最短路径问题 阅读全文
摘要:
一道题理解穷举/贪心/爬山/遗传/退火/蚁群算法,配代码 阅读全文