码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
集合相似度-easy-stl-set
#include<iostream> #include<cstdio> #include<set> #define MAXSIZE 51 using namespace std; set<int> s[MAXSIZE];/*建立set数组,自动除去重复的并且升序排好,然后利用count函数即可,知识 ...
分类:其他好文   时间:2020-11-07 16:42:41    阅读次数:18
深度优先及广度优先在Unity中的应用
说明: 简单总结一下深度优先算法和广度优先算法在Unity中最直观和最多见的使用。这里我所举的例子是应用到Unity中3D 人物的全部骨骼关键的遍历,推广开就是能够对全部物体的层级关系进行简单的遍历。。。算法 数据结构中的树的遍历在Unity中最直观的表现就是对某物体的全部子物体的遍历关系。数据结构 ...
分类:编程语言   时间:2020-11-07 16:23:59    阅读次数:28
XJOI contest 1592
首先 热烈庆祝“CSP-S 2020全国开放赛前冲刺模拟训练题2”圆满结束!!! 感谢大毒瘤颗粒囊的题目。题目还是很不错的,部分分设置的不合理,各种神仙随便 AK ,蒟蒻只能爆零。 Problem A 不会,下一个。 暴搜代码如下: #include<bits/stdc++.h> using nam ...
分类:其他好文   时间:2020-11-06 02:32:55    阅读次数:20
C#取exe文件绝对路径
using System.Runtime.InteropServices; #region/// <summary> /// 取exe文件绝对路径 /// </summary> /// <param name="hModule"></param> /// <param name="lpFileNam ...
分类:Windows程序   时间:2020-11-06 01:57:04    阅读次数:28
Tarjan全家桶
强联通分量及缩点 #include<bits/stdc++.h> #define re register #define v e[i].to using namespace std; const int lzw=1e4+3; int n,m,head[lzw],tot,h[lzw],cnt,dfn[ ...
分类:其他好文   时间:2020-11-06 01:55:25    阅读次数:17
Linux字符串转换C++
` #include <string.h> #include <iconv.h> #include using namespace std; int code_convert(char *from_charset, char *to_charset, char *inbuf,int inlen, c ...
分类:编程语言   时间:2020-11-06 01:53:34    阅读次数:28
The Delivery Dilemma
链接 : http://codeforces.com/problemset/problem/1443/C 标签 : binary search greedy sorting *1400 二分答案 AC代码 #include <bits/stdc++.h> using namespace std; # ...
分类:其他好文   时间:2020-11-06 01:18:03    阅读次数:19
考前算法总结
最短路 SPFA #include <bits/stdc++.h> using namespace std; #define N 10001 #define M 500001 struct node{ int to,w,next; }edge[M]; int cut=0; int head[N]; ...
分类:编程语言   时间:2020-11-04 18:47:58    阅读次数:18
动态调用WebService服务
方法一: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Web.Services.Description; usi ...
分类:Web程序   时间:2020-11-04 17:48:18    阅读次数:35
spfa与SLF和LLL(复习)
1 #include <bits/stdc++.h> 2 using namespace std; 3 const int mac=4e5+50; 4 int head[mac],vis[mac],dis[mac]; 5 int n,m,num,i,j,t; 6 struct edge{ 7 int ...
分类:其他好文   时间:2020-11-04 17:45:08    阅读次数:15
53562条   上一页 1 ... 67 68 69 70 71 ... 5357 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!