码迷,mamicode.com
首页 >  
搜索关键字:using 127.0.0.1 for servername    ( 53996个结果
ASP.NET:以域用户身份访问网络资源
using System;using System.IO;using System.Security.Principal;using System.ComponentModel;using System.Configuration;using System.Runtime.InteropServic...
分类:Web程序   时间:2014-05-05 22:58:48    阅读次数:516
显示游戏FPS帧率的几种计算方式
FPSDisplay.csusing UnityEngine;using System.Collections; public class FPSDisplay : MonoBehaviour{ float deltaTime = 0.0f; void Update() { ...
分类:其他好文   时间:2014-05-05 22:05:23    阅读次数:522
特殊数
#include #include #include using namespace std;int n,leap;int vis[12];void dfs(int index,int num){ if(leap) return ; if(index>n) { ...
分类:其他好文   时间:2014-05-05 22:01:05    阅读次数:593
查看物体A是否被相机B渲染
using UnityEngine;using System.Collections;public class Test : MonoBehaviour { public GameObject anObject ; private Camera cam ; private Plan...
分类:其他好文   时间:2014-05-05 22:00:12    阅读次数:357
[ACM] hdu 1231 最大连续子序列 (动规复习)
代码: #include #include #include #include using namespace std; const int maxn=10003; const int inf=0x7fffffff; int num[maxn]; int n; int main() { while(scanf("%d",&n)!=EOF&&n)...
分类:其他好文   时间:2014-05-04 12:39:16    阅读次数:331
fzu-1894 志愿者选拔-单调队列
转战单调队列,争取省赛前做完。。。。 这个题是很裸的单调队列。 不能用stl让人很蛋疼。。。。 就是用一个队列保存当前队伍的信息,如果来了一个大的,就把前面的小的挤掉。 #include #include #include #include #include #include using namespace std; #define maxn 55000 #define INF 99999...
分类:其他好文   时间:2014-05-03 16:28:35    阅读次数:342
C++ string中的几个小陷阱,你掉进过吗?
C++开发的项目难免会用到STL的string,使用管理都比char数组(指针)方便的多,但在得心应手的使用过程中也要警惕几个小陷阱,避免我们项目出bug却迟迟找不到原因。 1.  结构体中的string赋值问题 直接通过一个例子说明,下面的例子会输出什么: #include #include #include using namespace std; stru...
分类:编程语言   时间:2014-05-03 16:09:23    阅读次数:289
Hrbust1053 Warcraft III (完全背包)
本文出自:http://blog.csdn.net/svitter 原题:http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1053 题意:完全背包不解释。。直接贴代码。。 #include #include #include using namespace std; #defi...
分类:其他好文   时间:2014-05-03 16:06:14    阅读次数:324
hdu_1228 A + B
http://acm.hdu.edu.cn/showproblem.php?pid=1228 分析:         我只是想练习一下map的用法,不然又忘了。。。 代码: //hdu 1228 #include #include #include #include #include using namespace std; map d; void init()...
分类:其他好文   时间:2014-05-03 15:40:58    阅读次数:232
HDU 2894 欧拉回路
#include #include #include #include #include using namespace std; #define N 20020 struct node{ int from, to, dou, nex; }edge[N]; int head[N], edgenum; void add(int u, int v,int dou){ node E={u,v,dou...
分类:其他好文   时间:2014-05-03 15:25:32    阅读次数:340
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!