码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
ruby 正则表达式Regexp
http://ruby-doc.org/core-2.1.2/Regexp.htmlRegexpARegexpholds a regular expression, used to match a pattern against strings. Regexps are created using ...
分类:其他好文   时间:2014-06-14 21:17:33    阅读次数:304
poj 1035
题意:给定一个字典 然后在给定一系列字符串 问在字典中是否能找到此字符串 或者是否存在 删除 增加 改变 一个字符 使之成为相同的字符串思路:暴力 模拟改了几遍 1 #include 2 #include 3 #include 4 using namespace std; 5 char m...
分类:其他好文   时间:2014-06-14 21:11:22    阅读次数:219
windows系统调用 利用事件对象实现进程通信
1 #include "iostream" 2 #include "windows.h" 3 #include "cstring" 4 using namespace std; 5 6 static LPCTSTR g_szContinueEvent="w2kdg.EventDemo.event.....
分类:Windows程序   时间:2014-06-14 20:48:50    阅读次数:383
Codeforces Round #245 (Div. 2) B - Balls Game
暴利搜索即可#include #include #include using namespace std;int main(){ int n,k,x; cin >> n >> k >> x; vector c(n); for(int i = 0 ; i > c[i]; ...
分类:其他好文   时间:2014-06-14 18:47:42    阅读次数:206
c++实现二叉搜索树
自己实现了一下二叉搜索树的数据结构,记录一下: #include using namespace std; struct TreeNode{ int val; TreeNode *left; TreeNode *right; TreeNode(int value) { val=value; left=NULL; right=NULL; } }; clas...
分类:编程语言   时间:2014-06-14 13:36:40    阅读次数:265
BZOJ 3562: [SHOI2014]神奇化合物 并查集+dfs
点击打开链接 注意到20w条边,但是询问只有1w,所以有很多边是从头到尾不变的。 首先离线处理,将从未删除的边缩点,缩点后的图的点数不会超过2w,对于每一次add或者delete,直接dfs看是否能从a走到b,然后维护一个ans。 数据不强,不然这种复杂度起码要跑10s。。 #include #include #include #include using namespace std; #...
分类:其他好文   时间:2014-06-14 12:08:22    阅读次数:224
保存学生信息
/* * Copyright (c) 2013, 烟台大学计算机学院 * All rights reserved. * 作 者:马广明 * 完成日期:2014 年 6 月 10 日 * 版 本 号:v1.0 * 输入描述: 无 * 问题描述:学生信息 */ #include #include #include using namespace std; //定义...
分类:其他好文   时间:2014-06-14 11:36:35    阅读次数:215
poj3253
#include #include using namespace std; #define read(x) scanf("%lld",&x) int main() { priority_queue,greater >q; long long n,temp,sum; read(n); if(n==1) { read(temp); printf("%lld\n",temp); ...
分类:其他好文   时间:2014-06-14 10:34:12    阅读次数:223
NYOJ92 图像有用区域 【BFS】
//在外面加一圈非0,再广搜 #include #include using std::queue; int t, w, h, arr[962][1442]; int mov[][2] = {-1, 0, 0, 1, 1, 0, 0, -1}; queue Q; bool check(int x, int y){ if(x h + 1 || y > w + 1) return 0;...
分类:其他好文   时间:2014-06-14 10:06:32    阅读次数:276
Starting and Stopping Oracle Fusion Middleware
指定用户名密码启动管理服务器You can start and stop Oracle WebLogic Server Administration Servers using the WLST command line or a script. When you start or stop the...
分类:数据库   时间:2014-06-14 08:24:43    阅读次数:368
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!