DATA:gv_1TYPEc.DATA:gv_2TYPEi.gv_2=60.IFgv_2>=0ANDgv_2=60ANDgv_2=70ANDgv_2=80ANDgv_2=90ANDgv_2<=100.gv_1='E'.else.gv_1='F'.ENDIF.CASEgv_1.WHEN'A'.*MES...
分类:
其他好文 时间:
2014-06-25 21:53:04
阅读次数:
1789
题目1 ——
通过输入英文句子,将每个单词反过来,标点符号顺序不变。非26个字母且非标点符号的情况即可标识单词结束。标点符号包括,.!?
例如输入:Hello, I need an apple.
输出:
/**
* 华为机试训练1: 通过输入英文句子,将每个单词反过来,标点符号顺序不变。非26个字母且非标点符号的情况即可标识单词结束。 标点符号包括,.!?
* He...
分类:
其他好文 时间:
2014-06-24 23:47:12
阅读次数:
249
【题目】
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transactions.
Note:
You may not engage in multiple transactions at the same time (i...
分类:
其他好文 时间:
2014-06-24 23:28:43
阅读次数:
223
【题目】
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple times). H...
分类:
其他好文 时间:
2014-06-24 19:40:53
阅读次数:
240
Problem DescriptionSome days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I want to make a big...
分类:
其他好文 时间:
2014-06-24 15:01:58
阅读次数:
168
Bonding is aggregation multiple links to single link in order to increase throughput and achieve redundancy in case one of links fails. At least, offi...
分类:
其他好文 时间:
2014-06-24 10:28:42
阅读次数:
211
One of my Ubuntu systems would pop up the following message multiple times after logging in:System program problem detectedDo you want to report the p...
分类:
其他好文 时间:
2014-06-24 10:18:19
阅读次数:
360
import org.junit.Test;public class Multiple { public void printMultiple99() { int i = 1; for (; i < 10; i++) for (int j = 1; j <= i; j++) Syst...
分类:
其他好文 时间:
2014-06-23 08:13:56
阅读次数:
311
As we all know,a thread is a separate process on your computer.you can run multiple threads all at the same time.
multi-threaded code has the disadvantage of becoming quite complex very quickly,altho...
分类:
其他好文 时间:
2014-06-22 07:25:06
阅读次数:
244
Server management the Erlang node and the Erlang application Starting nodes multiple Erlang applications can run inside the same node an application o...
分类:
其他好文 时间:
2014-06-21 16:36:43
阅读次数:
387