/** * Definition for singly-linked list. * type ListNode struct { * Val int * Next *ListNode * } */ func rotateRight(head *ListNode, k int) *ListNode ...
分类:
其他好文 时间:
2021-04-12 11:49:58
阅读次数:
0
原文链接:https://www.cnblogs.com/lizhenghao126/p/11053598.html 函数声明 template< class RandomIt, class Compare > constexpr void sort( RandomIt first, RandomI ...
分类:
编程语言 时间:
2021-04-10 13:28:28
阅读次数:
0
字符串的排列 输入一个字符串,按字典序打印出该字符串中字符的所有排列。例如输入字符串abc,则按字典序打印出由字符a,b,c所能排列出来的所有字符串abc,acb,bac,bca,cab和cba。 输入描述: 输入一个字符串,长度不超过9(可能有字符重复),字符只包括大小写字母。 思路: 对于一个长 ...
分类:
其他好文 时间:
2021-04-10 13:26:51
阅读次数:
0
const修饰变量 const修饰的是它前面所有的数据类型,如果const在最前面,那么把它和它后面第一个数据类行交换,例如:const char*交换之后就是char const *,这样一来就很清楚了,char *const p中的const修饰的是char *(注意,我们这里把char和*都算 ...
分类:
编程语言 时间:
2021-04-09 13:38:30
阅读次数:
0
在centos7.5中解决bash: pip:command not find 问题 [root@localhost ~]# python get-pip.py Hi there! The URL you are using to fetch this script has changed, and ...
分类:
其他好文 时间:
2021-04-08 13:04:02
阅读次数:
0
package main import ( "log" ) type meta struct { name string age int } func (m *meta) copy(dest *meta) { *dest = *m } func main() { a := meta{name:"aa ...
分类:
编程语言 时间:
2021-04-07 11:39:03
阅读次数:
0
openpose pytorch 测试 import cv2 import matplotlib.pyplot as plt import copy import numpy as np import torch from src import model from src import util ...
分类:
其他好文 时间:
2021-04-07 10:55:01
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>12生肖相册</title> <style> html{ background: #000; height: 100%; } /*最外层容器样式*/ .wrap{ position ...
分类:
其他好文 时间:
2021-04-07 10:49:56
阅读次数:
0
1.数组的遍历 通常用双for循环或者foreach循环来遍历二维数组,例如: char arr[][]=new char[4][]; arr[0]=new char[] {'春','江','潮','水','连','海','平'}; arr[1]=new char[] {'海','上','明','月 ...
分类:
编程语言 时间:
2021-04-06 14:14:36
阅读次数:
0
HTML(二)基本标签 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Basic Label</title> </head> <body> <!--标题标签--> <h1>一级标题</h1> <h2>二级标 ...
分类:
Web程序 时间:
2021-04-06 14:06:11
阅读次数:
0