码迷,mamicode.com
首页 >  
搜索关键字:using temporary    ( 54256个结果
hdu 1598 find the most comfortable road
http://acm.hdu.edu.cn/showproblem.php?pid=1598 1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6 const int inf=1<<30; 7...
分类:其他好文   时间:2014-05-05 10:53:38    阅读次数:344
hdu 1599 find the mincost route
http://acm.hdu.edu.cn/showproblem.php?pid=1599floyd找最小环。 1 #include 2 #include 3 #include 4 #define maxn 200 5 using namespace std; 6 const int inf...
分类:其他好文   时间:2014-05-05 10:52:15    阅读次数:315
createprocess并行运算
#include "stdafx.h"#include "windows.h"#include using namespace std;int _tmain(int argc, _TCHAR* argv[]){ STARTUPINFO si; PROCESS_INFORMATION...
分类:其他好文   时间:2014-05-05 10:31:18    阅读次数:412
.Net平台下实例类型无法转换成接口类型?
首先这种情况出现在应用程序启动前的方法里面。本想通过发射来实现一些功能。谁知道被这个坑了。碰到这种问题。已经相当无语了。同时也不知道该如何解决。望有能之士帮忙解答using System;using System.IO;using System.Linq;using System.Reflectio...
分类:Web程序   时间:2014-05-04 20:24:23    阅读次数:433
将Excel文件内容拖拽至ExtJs的Panl
参考地址:http://loianegroner.com/2010/03/importing-an-excel-spreadsheet-into-an-extjs-datagrid-using-datadrop-grid-plugin/演示例子:https://github.com/loiane/e...
分类:Web程序   时间:2014-05-04 19:39:57    阅读次数:403
pageHtml.cs
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Collections.Specialized;namespace NewX...
分类:Web程序   时间:2014-05-04 19:04:08    阅读次数:437
行编辑程序、括号匹配检验
行编辑程序、括号匹配检验程序都是利用的栈的数据结构。而这两个 小程序也非常好的显示了栈先进后出的思想。由于程序本身很简短、清晰,所 以也就不做多的解释了,直接上代码了。 行编辑程序: #include #include using namespace std; int main() { stack sta; char ch = getchar(); while(ch!=EOF) ...
分类:其他好文   时间:2014-05-04 18:55:11    阅读次数:423
托管c++ (CLI) String^ 到 std::string 的相互转化
#include "stdafx.h" #include #include #include using namespace msclr::interop; using namespace System; int main(array ^args) { // 为了可以打印wstring到控制台 std::wcout.imbue(std::locale("chs")); // 声明...
分类:编程语言   时间:2014-05-04 18:30:58    阅读次数:418
HDU-1015-Safecracker
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1015 深搜简单题 代码如下: #include #include #include #include using namespace std; string a; int t; int v,w,x,y,z; int vis[20]; int b[6]; int flag; int cmp(int...
分类:其他好文   时间:2014-05-04 18:09:00    阅读次数:352
HDU 3033 分组背包
题意: 给定n个物品 m元,k种商品 下面n行 tpye w v 表示物品的牌子,价格,价值(每个物品只有1件) 问:每个牌子至少买一件能获得的最大价值是多少 思路:分组背包 #include #include #include #include #include using namespace std; #define ll int ll n, m, k; l...
分类:其他好文   时间:2014-05-04 18:03:15    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!