码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
抓取网页文本内容
使用的是WebRequest类,在这以http://novel.hongxiu.com/a/1036665/10425842.html为例。代码如下:using System;using System.Collections.Generic;using System.ComponentModel;u...
分类:Web程序   时间:2015-06-15 23:49:47    阅读次数:227
Codeforces 551E - GukiZ and GukiZiana(分块)
Problem E.GukiZ and GukiZianaSolution: 先分成N=sqrt(n)块,然后对这N块进行排序。 利用二分查找确定最前面和最后面的位置。 #include using namespace std;typedef long long ll;vector s[100...
分类:其他好文   时间:2015-06-15 23:27:53    阅读次数:321
poj 3259 Wormholes (BELLman—FOrd算法)(邻接矩阵表示)
http://poj.org/problem?id=3259   之前一开始 ,没做出来,搁置了好几天才看见bug所在。所以今天a掉了 ,把代码贴出来,这个使用邻接矩阵表示的 ,下一篇用邻接表可以提高效率。 #include #include #include #include using namespace std; const int INF=600; int G[INF][INF]; ...
分类:编程语言   时间:2015-06-15 22:15:49    阅读次数:171
输入n,按顺序打印1到最大的n位十进制数
1 /* 2 *题目要求:输入n,按顺序打印1到最大的n位十进制数 3 *比如:输入3,则打印1,2,...999 4 *更新日期:2015-06-15 5 */ 6 7 //注意题目中的陷阱,当n稍微大一点的时候会溢出,所以使用字符串输出的策略 8 9 #include10 using...
分类:其他好文   时间:2015-06-15 21:54:56    阅读次数:149
Java for LeetCode 225 Implement Stack using Queues
Implement the following operations of a stack using queues.push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top()...
分类:编程语言   时间:2015-06-15 21:52:13    阅读次数:131
[Trie]Hdu 1671 Phone List
This is my first problem of Trie.Thanks tohttp://www.cnblogs.com/dolphin0520/archive/2011/10/15/2213752.html#include #include #include #include using....
分类:其他好文   时间:2015-06-15 21:44:47    阅读次数:95
Unity UGUI 下拉菜单
1.新建Buttom2.panel里面加下拉buttomusing UnityEngine;using System.Collections;public class DropDownList : MonoBehaviour { public GameObject panel; void...
分类:编程语言   时间:2015-06-15 20:23:24    阅读次数:938
leetcode Permutations
代码: 1 #include 2 #include 3 4 using namespace std; 5 6 void getResult(vector> &result, vector element, vector nums) 7 { 8 if (element.size() == ...
分类:其他好文   时间:2015-06-15 20:20:02    阅读次数:117
C#图片无损压缩
//引用命名空间using System.Drawing.Imaging;using System.Drawing;using System.Drawing.Drawing2D;#region GetPicThumbnail/// /// 无损压缩图片/// /// 原图片/// 压缩后保存位置//...
分类:Windows程序   时间:2015-06-15 20:10:57    阅读次数:179
Why you should use async tasks in .NET 4.5 and Entity Framework 6
Improve response times and handle more users with parallel processingBuilding a web application using non blocking calls to the data layer is a great ...
分类:Web程序   时间:2015-06-15 20:10:03    阅读次数:167
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!