#include<iostream> #include<cstring> #include<algorithm> using namespace std; struct node { string x; //装票数 int num; //装号数 int lenx; //装票数的位数 }s[25]; ...
分类:
编程语言 时间:
2021-01-13 11:00:17
阅读次数:
0
Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the ...
分类:
其他好文 时间:
2021-01-12 11:12:21
阅读次数:
0
#include <iostream> #include <vector> #include <string> using namespace std; struct Node { int data; Node * next; }; Node * reverseList(Node * head) { ...
分类:
其他好文 时间:
2021-01-11 11:11:15
阅读次数:
0
1. 泛型方法:一个方法满足不同类型,做同样的事 泛型与object的区别: 当类性为object的时候: /// <summary> /// 打印个object值 /// 1 object类型是一切类型的父类 /// 2 通过继承,子类拥有父类的一切属性和行为;任何父类出现的地方,都可以用子类来代 ...
If a file is larger than 5MB size limit for pushing t, the files must be tracked and updated using git lfs. Note: Please follow the instructions here( ...
分类:
其他好文 时间:
2021-01-11 10:39:35
阅读次数:
0
https://www.jianshu.com/p/ee72f5215e07 概念 利用morphologyEx这个函数可以方便的对图像进行一系列的膨胀腐蚀组合。 函数讲解 ●函数原型 ○c++ void morphologyEx( InputArray src, OutputArray dst, ...
分类:
编程语言 时间:
2021-01-08 11:28:39
阅读次数:
0
package com.lyc.struct;public class ForDemo02 { public static void main(String[] args) { //练习1:计算0到100之间的奇数和偶数的和 int odd = 0; int even = 0; //偶数// for ...
分类:
其他好文 时间:
2021-01-08 11:23:42
阅读次数:
0
终于到了shared ptr 首先看一下std::make_shared 可能有人不知道stdpair是什么,接下来的例子是和stdpair有关系的, first和second是第一个成员和第二个成员,然后我们可以发现,第一个first和第二个second竟然可以不一样 // make_pair e ...
分类:
其他好文 时间:
2021-01-08 11:22:07
阅读次数:
0
package com.lyc.struct;public class SwitchDemo02 { public static void main(String[] args) { String name = "史蒂夫"; //JDK7的新特性,表达式结果可以说字符串 //字符的本质还是数字 sw ...
分类:
其他好文 时间:
2021-01-08 11:21:00
阅读次数:
0
^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveChildProcess’中 ...
分类:
系统相关 时间:
2021-01-08 10:46:52
阅读次数:
0