自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 服务器端口转发

服务器端口转发

2023-05-14 00:48:30 618

原创 查看服务器的监听端口(Windows、Linux、MacOS)

查看服务器的监听端口(Windows、Linux、MacOS),netstat、losf、TCPView

2023-05-14 00:20:42 16465

原创 查看服务器端口监听情况

经常,我们在启动应用的时候发现系统需要的端口被别的程序占用,如何知道谁占有了我们需要的端口,很多人都比较头疼,下面就介绍一种非常简单的方法,希望对大家有用

2022-07-06 21:22:50 6897

原创 linux Ubuntu python3 pygame

1.安装库:sudo apt-get install python3-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavco

2017-10-28 14:37:16 263

原创 leet code 008:atoi 字符串转整型数

def atoi_int(n): import string l=len(n) stint='' for i in range(l): if n[i].isdigit(): stint+=n[i] print(stint,type(stint)) stint=int(stint) print(stint

2017-09-19 14:42:47 334

原创 leet code 006:ZigZag Conversion

题目描述:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P A H NA P L

2017-09-19 10:46:49 353

原创 leet code 004:Median of Two Sorted Arrays

通用法:查找两个数组中的第K大值def find_kMax(array01,array02,k): km1=max(array01) km2=max(array02) for i in range(1,k): while km1 in array01: array01.remove(km1) while k

2017-09-18 13:51:53 364

原创 leet code 003:Longest Substring Without Repeating Characters

题目描述:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is

2017-09-18 13:46:34 471

原创 leet code 002:Add Two Numbers ???未完成

题目描述:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as

2017-09-18 13:44:21 372

原创 LeetCode 001 :Two Sum

题目描述:Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution.Example:Given

2017-09-18 13:29:24 470

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除