码迷,mamicode.com
首页 >  
搜索关键字:generic algorithm    ( 18934个结果
PAM / 回文自动机(回文树)略解
回文自动机可以处理一个字符串的回文子串的信息,复杂度为 O(n)。 ...
分类:其他好文   时间:2020-11-01 09:52:48    阅读次数:12
poj3348Cows 凸包板子
凸包板子 #include<iostream> #include<cstdio> #include<cmath> #include<cstring> #include<algorithm> using namespace std; struct Point { int x,y; }; Point a ...
分类:其他好文   时间:2020-10-27 11:27:51    阅读次数:20
C# 生成二维码
添加引用: ThoughtWorks.QRCode.dll System.Drawing using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Mi ...
分类:Windows程序   时间:2020-10-27 11:12:22    阅读次数:34
论文分享:A content-based recommendation algorithm for learning resources
A content-based recommendation algorithm for learning resources https://www.researchgate.net/profile/Xingchi_Zhou2/publication/315057561_A_content-bas ...
分类:其他好文   时间:2020-10-26 11:39:40    阅读次数:28
CF545C Woodcutters(贪心)题解
贪心算法两句话 第一句话: 能往左倒就往左倒。 如同数学中“我们不妨设”一样,相信很好理解。这里只对第二句话稍作解释: 不能往左倒的尽量往右倒 这样为什么是对的呢? 我们可以分类讨论一下: 假设当前已经处理到第$i$个,且它不能往左倒,$h_i$表示树高,$x_i$表示位置。 若$x_{i + 1} ...
分类:其他好文   时间:2020-10-22 22:14:46    阅读次数:14
依赖注入 Castle.Windsor高级应用
原文:https://blog.csdn.net/liuweitoo/article/details/8281213 _Castle.Windsor.3.1.0 一. 使用代码方式进行组件注册【依赖服务类】 using System;using System.Collections.Generic;... ...
分类:Windows程序   时间:2020-10-21 21:16:01    阅读次数:39
.NET Core自定义TagHelper
代码: using Microsoft.AspNetCore.Razor.TagHelpers; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; name ...
分类:Web程序   时间:2020-10-21 20:55:42    阅读次数:36
C#宿舍管理系统之用户类和用户登录类
用户类,保存登录信息:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;namespaceGroupProject{///<summary>///此类专门用来保存登录用户的信息///方便使用之时调用///</summar
分类:Windows程序   时间:2020-10-19 22:46:51    阅读次数:93
C#宿舍管理系统之用户类和用户登录类
用户类,保存登录信息:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;namespaceGroupProject{///<summary>///此类专门用来保存登录用户的信息///方便使用之时调用///</summar
分类:Windows程序   时间:2020-10-19 22:46:35    阅读次数:29
CF600E Lomsat gelral(线段树合并)
http://codeforces.com/problemset/problem/600/E 题意:给一个树,每个点有一个颜色,让你对于每个点,求以他为根的子树中,颜色是 出现数量最多的颜色 的节点,的编号和(如果有多个出现数量最多的颜色,都算),\(n\le 10^5\) 线段树合并 用到线段树合 ...
分类:其他好文   时间:2020-10-19 22:36:15    阅读次数:20
18934条   上一页 1 ... 24 25 26 27 28 ... 1894 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!