码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
树状数组求逆序对个数
#include<cstdio> #include<algorithm> const int N = 1e6 + 1; int n, t[N]; namespace lsh{ int lsh[N], tmp[N]; void init() { for (int i = 1; i <= n; ++i) ...
分类:编程语言   时间:2021-04-10 13:40:10    阅读次数:0
[C++]std::sort()函数使用总结
原文链接: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
两个String类型字符串怎么判断其中一个包含另一个
public class Demo { public static void main(String[] args) { System.out.println(Contains1("abfadawdawdawd", ".*daw.*")); System.out.println(Contains2( ...
分类:其他好文   时间:2021-04-10 13:19:37    阅读次数:0
4.9
package test; public class test1 { public static void main(String args[]){ //使用for循环计算1-100的和,除了以3结尾的那些数 int sum = 0; for(int x = 1;x<=100;x++){ if(x% ...
分类:其他好文   时间:2021-04-10 13:09:10    阅读次数:0
C# WinForm遍历窗体控件的3种方法
1.循环遍历 private void GetControls(Control fatherControl) { Control.ControlCollection sonControls = fatherControl.Controls; foreach (Control control in s ...
分类:Windows程序   时间:2021-04-10 13:07:49    阅读次数:0
简单日志文件记录
public static void LogToFile(string LogFilePath, string LogFileName, string doWhat, string msg) { string stmp = "时间:" + DateTime.Now.ToString("yyyy-MM ...
分类:其他好文   时间:2021-04-10 12:59:29    阅读次数:0
滴水逆向初级-C语言(二)
2.1.C语言的汇编表示 c语言代码 int plus(int x,int y) { return 0; } void main() { __asm { mov eax,eax } //调用函数 plus(1,2); return; } 汇编代码 1: 2: int plus(int x,int y ...
分类:编程语言   时间:2021-04-10 12:50:12    阅读次数:0
环形链表 II - 给定一个链表,返回链表开始入环的第一个节点。 如果链表无环,则返回 null
直接遍历链表,使用set做标记位(标记是否已经到达过) /** * Definition for singly-linked list. * type ListNode struct { * Val int * Next *ListNode * } */ type void struct{} fun ...
分类:其他好文   时间:2021-04-10 12:49:23    阅读次数:0
C# 将多个图片合成 pdf 及 多个pdf 合成 pdf 方案
获取 itextsharp 包 files 图片文件路径列表 pdfFileName 输出的 pdf文件 public bool MergeFileToPDF(List<string> files,string pdfFileName) { iTextSharp.text.Document docu ...
分类:Windows程序   时间:2021-04-09 13:38:52    阅读次数:0
Java继承
继承 概念:继承是面向对象最显著的一个特性。继承是从已有的类中派生出新的类,新的类能吸收已有类的数据属性和行为,并能扩展新的能力。 语法:class 子类 extends 父类 通过代码可以发现,子类(Student)并没有定义任何的操作,而在主类中所使用的全部操作都是由Person类定义的,这证明 ...
分类:编程语言   时间:2021-04-09 13:38:03    阅读次数:0
62627条   上一页 1 ... 50 51 52 53 54 ... 6263 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!