Description
Find Solutions
Look at the following equation:
c = ab - + 1
Now given the value of c, how many possible values of and
a and b are there (a and
b must be ...
分类:
其他好文 时间:
2014-08-16 22:33:01
阅读次数:
287
述所谓回文字符串,就是一个字符串,从左到右读和从右到左读是完全一样的,比如"aba"。当然,我们给你的问题不会再简单到判断一个字符串是不是回文字符串。现在要求你,给你一个字符串,可在任意位置添加字符,最少再添加几个字符,可以使这个字符串成为回文字符串。输入第一行给出整数N(00) { ...
分类:
其他好文 时间:
2014-08-16 20:56:41
阅读次数:
215
1、问题背景
以下代码运行的结果为:
A、a的值:8 b的值:7 B、a的值:8 b的值:8
C、a的值:9 b的值:7 D、a的值:9 b的值:8
/**
*
*/
package com.you.model;
/**
* @author YouHaidong
*
*/
public class AB...
分类:
编程语言 时间:
2014-08-16 16:28:40
阅读次数:
160
Description
The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places at their whim. The city counci...
分类:
其他好文 时间:
2014-08-16 13:53:40
阅读次数:
679
ftp://bdtool.net/download/%E6%9C%80%E6%96%B0%E9%AB%98%E6%B8%85%E7%94%B5%E5%BD%B1/%5B7%E6%9C%8817%E6%97%A5%E5%8F%91%E5%B8%83%E6%9C%80%E6%96%B0%E9%AB%98%E6%B8%85%E7%89%88720P%5D%E5%8F%98%E5%BD%A2%E9%...
分类:
其他好文 时间:
2014-08-16 03:22:40
阅读次数:
182
/*
题目大意:求括号是否配对
解题思路:开一个数组b,来作为栈,top为栈的下个下标控制入栈和出栈
难点详解:见代码
关键点:对进栈和出栈了解深刻一点
解题人:lingnichong
解题时间:2014/08/15 19:46:45
解题体会:最基本栈的运用。一开始还不是很清楚。可以先背一下,每天睡觉前再看一下,到用的时候,再根据这个模板写出来就可以了,这样印象会更加深刻了
*...
分类:
其他好文 时间:
2014-08-15 21:14:40
阅读次数:
220
/*关于链表的题目 * A、B是两个递增有序的单链表,元素个数分别是m和n,求 * 集合A-B,并将结果保存在A中,且仍然保持递增有序。 * converge_ab */#include using namespace std;typedef struct lnode{ int data; ...
分类:
其他好文 时间:
2014-08-14 23:18:56
阅读次数:
283
在使用ab做压力测试的时候发现当并发设置为1000以上的时候就出现[root@DB~]#ab-n10000-c1500http://192.168.100.208/
ThisisApacheBench,Version2.3<$Revision:655654$>
Copyright1996AdamTwiss,ZeusTechnologyLtd,http://www.zeustech.net/
LicensedtoTheApacheSoftware..
分类:
其他好文 时间:
2014-08-14 20:58:29
阅读次数:
227