解题报告
题意:
替换字符串,一个单词可重复替换
思路:
这种题都很恶心。
#include
#include
#include
#include
using namespace std;
char str[1000][1000],ch[1000][1000],sh[1000],str1[1000];
int main()
{
int n,i,j;
while(~...
分类:
其他好文 时间:
2014-08-01 00:05:00
阅读次数:
351
出现这个问题,把工程编译选项中的预编译去掉就可以了,操作步骤:首先全部重编译一下工程,如还是不行则试一试将工程设置中C/C++中precompiled header中选中automatic use of precompiled headers,并在相应through header中输入stdafx.h。
另外,把debug目录下的文件删除,然后重新编译也是一种解决...
分类:
其他好文 时间:
2014-07-30 01:07:02
阅读次数:
281
1、自动引用计数 ARC(Automatic Reference Counting,自动引用计数)极大地减少了Cocoa开发中的常见编程错误:retain跟release不匹配。ARC并不会消除对retain和release的调用,而是把这项原本大都属于开发者的工作移交给了编译器。这样做的好处是.....
分类:
其他好文 时间:
2014-07-29 11:39:46
阅读次数:
210
#include
#include
#define MAXL 225+5
#define MAXN 10+5
char find[MAXN][MAXL],replace[MAXN][MAXL];
char text[MAXL],convert[MAXL];
int Find(int,int*);
void Replace(int,int);
int str_cmp(int,int);
i...
分类:
其他好文 时间:
2014-07-27 23:55:20
阅读次数:
273
最近研究了下NameNodeHAAutomaticFailover方面的东西,当ActiveNN因为异常或其他原因不能正常提供服务时,处于Standby状态的NN就可以自动切换为Active状态,从而到达真正的高可用NNHAAutomaticFailover架构图为了实现自动切换,需要依赖ZooKeeper和ZKFC组件,ZooKeeper主要用来..
分类:
其他好文 时间:
2014-07-26 03:27:38
阅读次数:
392
Automatic logon configuration on Linux OS...
分类:
系统相关 时间:
2014-07-26 02:37:06
阅读次数:
237
本节内容包括:SET语句、MERGE语句、UPDATA语句、OUTPUT语句、TRANSPOSE语句和data-set选项及SAS Automatic Variables一、SET语句(堆叠功能)用SET语句修改数据集DATA Friday; SET Sales;/SET 'C:\MySASL...
分类:
其他好文 时间:
2014-07-25 16:31:21
阅读次数:
255
UVA10361 - Automatic Poetry(自动作诗机)A Schuttelreim seems to be a typical German invention. The funny thing about this strange type of poetry is that if ...
分类:
其他好文 时间:
2014-07-24 10:20:13
阅读次数:
232
Abstract 1: DHCPv6 offers the capability of automatic allocation of reusable network addresses and additional configuration flexibility. 2: DHCPv6 i.....
分类:
其他好文 时间:
2014-07-23 15:22:36
阅读次数:
260
使用aum( Automatic Undo Management) 时遇到 ORA-01555错误--- 原因和解决方案。...
分类:
其他好文 时间:
2014-07-13 17:23:38
阅读次数:
234