码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
C#delegate委托
类似函数,却没有语句体。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplicatio...
分类:Windows程序   时间:2016-01-21 15:49:03    阅读次数:191
UVALive 6527 Counting ones dfs(水
题目链接:点击打开链接#include #include using namespace std;typedef long long ll;ll re;vector p;void dfs(int dep, int g) { if (dep == 0) return ; if (p[dep-1] =....
分类:其他好文   时间:2016-01-21 15:46:22    阅读次数:140
LeetCode 232 Implement Queue using Stacks(用栈来实现队列)(*)
翻译用栈来实现队列的下列操作。push(x) —— 将元素x写入到队列的尾部 pop() —— 从队列首部移除元素 peek() —— 返回队列首部元素 empty() —— 返回队列是否为空注意:你必须使用一个只有标准操作的栈。也就是说,只有push/pop/size/empty等操作是有效的。栈可能不被原生支持,这取决于你所用的语言。只要你只是用stack的标准操作,你可以用list或者dequ...
分类:其他好文   时间:2016-01-21 13:55:11    阅读次数:208
C++_系列自学课程_第_12_课_结构体
1 #include 2 #include 3 4 using namespace std; 5 6 struct CDAccount 7 { 8 double balance; //余额 9 double rate; //利息 10 int...
分类:编程语言   时间:2016-01-21 13:48:30    阅读次数:222
RabbitMQ 安装
Install Erlang from the Erlang Solutions repositoryorFollow the instructions under "Installation using repository" atErlang Solutions.++++++++++++++++...
分类:其他好文   时间:2016-01-21 13:35:03    阅读次数:471
HDU 1236
水题~~但我做了很久;题意:是中国人都懂了思路:结构体排序;以后要多用用重定义的排序手段,!!!!!多用!!多用!!多用!! 1 #include 2 #include 3 #include 4 using namespace std; 5 int grade[15]; 6 struct resul...
分类:其他好文   时间:2016-01-21 13:29:01    阅读次数:120
正則表達式 取出img标签 保存于指定路径
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Net;...
分类:其他好文   时间:2016-01-21 12:06:27    阅读次数:189
Flie类
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;//使用File类需要引用System.IOnamespace _08_Flie类{ class ...
分类:其他好文   时间:2016-01-21 12:01:42    阅读次数:116
linux中内存泄漏的检测(一)最简单的方法
什么是内存泄漏内存泄漏是指程序动态申请的内存在使用完后没有释放,导致这段内存不能被操作系统回收再利用。 例如这段程序,申请了4个字节的空间但没有释放,有4个字节的内存泄漏。#include using namespace std;int main() { int *p = new int(1); cout <<*p<<endl; return 0...
分类:系统相关   时间:2016-01-21 10:42:20    阅读次数:210
使用Pyspark编写wordcount程序
# Word count on manuscript using PySpark# import regex moduleimport re# import add from operator modulefrom operator import add# read input filefile_i...
分类:其他好文   时间:2016-01-21 10:30:13    阅读次数:633
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!