码迷,mamicode.com
首页 >  
搜索关键字:generic algorithm    ( 18934个结果
账单1.4 :NPOI +Excel Winform版
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
分类:Windows程序   时间:2020-07-08 21:29:45    阅读次数:100
nohup java -Dserver.port=8087 -Dspring.config.location=application-generic.yml -jar ${APP_HOME}/${APP_NAME} >/dev/null 2>&1
nohup java -Dserver.port=8087 -Dspring.config.location=application-generic.yml -jar ${APP_HOME}/${APP_NAME} >/dev/null 2>&1 #-Dserver.port为指定端口启动 #-Ds ...
分类:移动开发   时间:2020-07-08 15:25:20    阅读次数:106
Mysql调优-3Mysql的索引
1.Memory用的是hash index,但是InnoDB和MyISAM用的是B+树,不用二叉树的原因就是深度可能过深,深度过深影响查询和IO性能; 2.索引使用树的过程: BST:二分查找,不平衡AVL:二叉平衡树,最长子树和最短子树的高度之差不能超过1,数据越多,旋转越多,插入删除效率极低,查 ...
分类:数据库   时间:2020-07-08 15:06:03    阅读次数:70
2019 ICPC Malaysia National 题解
A - Mental Rotation(模拟) 思路: 只要发现旋转的规律就好了 就是向右旋转的时候,矩阵整体旋转,之后里面的图形成为逆时针旋转$90°$的图形 #include<iostream> #include<algorithm> #include<cstring> using namesp ...
分类:其他好文   时间:2020-07-08 01:42:59    阅读次数:109
Tree
https://ac.nowcoder.com/acm/contest/6226/C 、 修修去年种下了一棵树,现在它已经有n个结点了。 修修非常擅长数数,他很快就数出了包含每个点的连通点集的数量。 澜澜也想知道答案,但他不会数数,于是他把问题交给了你。 换根dp 第一遍dfs , 从下到上算贡献 ...
分类:其他好文   时间:2020-07-08 00:59:29    阅读次数:252
HDU-1024Max Sum Plus Plus(最大m段子序列和-DP)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1024 题目大意:给m 和n个数,将n个数分为m段,不交叉,求m段和的最大值。 Sample Input 1 3 1 2 3 2 6 -1 4 -2 3 -2 3 Sample Output 6 8 em ...
分类:其他好文   时间:2020-07-08 00:58:59    阅读次数:82
C#四种方法调用类中的函数
方法在Program中,实例成员要实例化对象【对象.方法】之后才能调用 using System; using System.Collections.Generic; using System.Text; namespace Exp04_1 { class Program { //方法在Progra ...
分类:Windows程序   时间:2020-07-07 23:26:18    阅读次数:150
面试常考代码
快排 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> #include<vector> #include<stack> #include<map> #include<cstdio> #include< ...
分类:其他好文   时间:2020-07-07 21:01:02    阅读次数:81
C#算法之冒泡排序
排序规则: 比较相邻的元素。如果第一个比第二个大,就交换它们两个。 对每对相邻元素做同样的工作,从开始第一对到最后一对。这步做完之后,最后的元素会是最大的数。 针对所有的元素重复以上的步骤,除了最后一个。 持续每次对越来越少的元素重复上面的步骤,直到没有任何一对数字需要进行比较。 时间复杂度:O(n ...
分类:编程语言   时间:2020-07-07 19:32:35    阅读次数:60
Unity中实现通过鼠标对物体进行旋转平移缩放
废话不多说,直接上代码 —— 将下面的代码赋给所需要控制的物体上即可。 using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouseControlModel : Mo ...
分类:编程语言   时间:2020-07-07 17:35:12    阅读次数:67
18934条   上一页 1 ... 43 44 45 46 47 ... 1894 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!