摘要:
通过展示STL中已存在的lowerbound和uppebound函数来展示二分查找。 阅读全文
posted @ 2016-09-02 20:04
Yan_Bin
阅读(130)
评论(0)
推荐(0)
摘要:
12096 The SetStack ComputerBackground from Wikipedia: \Set theory is a branch ofmathematics created principally by the German mathe-matician Georg Can 阅读全文
posted @ 2016-09-02 19:36
Yan_Bin
阅读(470)
评论(0)
推荐(0)
摘要:
题意: 输入一些单词,找出所有满足以下条件的单词:该单词不能通过字母重排得到输入文本中的另外一个单词。在判断是否满足条件时,字母不区分大小写,但在输出时应该保留输入中的大小写,按字典序进行排列。 分析: 将输入的单词进行“标准化”,即将单词中的每个字母化为小写并按字典序重排单词,用一个字典来统计一个 阅读全文
posted @ 2016-09-02 17:59
Yan_Bin
阅读(446)
评论(0)
推荐(0)
摘要:
400 Unix lsThe computer company you work for is introducing a brand new computer line and is developing a newUnix-like operating system to be introduc 阅读全文
posted @ 2016-09-02 17:25
Yan_Bin
阅读(253)
评论(0)
推荐(0)
摘要:
这里用一个抛物线求弧长的例子给出Simpson公式的代码: 阅读全文
posted @ 2016-09-02 15:56
Yan_Bin
阅读(1183)
评论(0)
推荐(0)
摘要:
1356 BridgeA suspension bridge suspends the roadway from huge main cables, which extend from one end of thebridge to the other. These cables rest on t 阅读全文
posted @ 2016-09-02 15:54
Yan_Bin
阅读(173)
评论(0)
推荐(0)
摘要:
1476 Error CurvesJosephina is a clever girl and addicted to Machine Learning recently. She pays much attention to amethod called Linear Discriminant A 阅读全文
posted @ 2016-09-02 11:50
Yan_Bin
阅读(174)
评论(0)
推荐(0)
摘要:
10341 Solve ItSolve the equation:p ex + q sin(x) + r cos(x) + s tan(x) + t x2 + u = 0where 0 x 1.InputInput consists of multiple test 阅读全文
posted @ 2016-09-02 01:05
Yan_Bin
阅读(149)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 #define MAXN 9999 // 大数类里面的数组中每个单元的最大正整数 8 #define MAXSIZE 10 9 #define DLEN 4 // 对应于MAXN的大小 10... 阅读全文
posted @ 2016-09-02 00:46
Yan_Bin
阅读(363)
评论(0)
推荐(0)
摘要:
221 Urban ElevationsAn elevation of a collection of buildings is an orthogonal projection of the buildings onto a verticalplane. An external elevation 阅读全文
posted @ 2016-09-02 00:18
Yan_Bin
阅读(370)
评论(0)
推荐(0)