
STL
文章平均质量分 71
Hold_My_Own
When the dust settles, and it will, we'll see.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
(POJ - 3096)Surprising Strings
(POJ - 3096)Surprising Strings The D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is D-unique if all of its D-pairs are different. A string is surp原创 2017-08-25 16:19:38 · 269 阅读 · 0 评论 -
(CSU - 1974)神奇药水
(CSU - 1974)神奇药水 对于csuxushu来说,能够在CSU(California State University)组织2017年的ACM暑期集训让他感到十分荣幸。 csuxushu是一名充满梦想的程序员,因此他也希望来参加暑期集训的ACM萌新们和他一样怀揣着书写CSU-ACM历史的梦想。 一个偶然的机会,他在机房的某个角落得到了一本来自远古神犇的药水配方秘籍。秘籍上记载了许多AC药水配方,每一种药水都原创 2017-09-11 21:22:12 · 453 阅读 · 0 评论 -
(HDU - 1597)find the nth digit
(HDU - 1597)find the nth digit 假设: S1 = 1 S2 = 12 S3 = 123 S4 = 1234 ......... S9 = 123456789 S10 = 1234567891 S11 = 12345678912 ............ S18 = 123456789123456789 .................. 现在我们把所有的串连接起来 S = 112123原创 2017-09-07 15:57:26 · 338 阅读 · 0 评论 -
(CodeForces - 600B)Queries about less or equal elements
(CodeForces - 600B)Queries about less or equal elements You are given two arrays of integers a and b. For each element of the second array bj you should find the number of elements in array a that are less than原创 2017-09-14 21:25:07 · 1244 阅读 · 0 评论 -
(UVA - 11995)I Can Guess the Data Structure!
(UVA - 11995)I Can Guess the Data Structure! There is a bag-like data structure, supporting two operations: `1 x Throw an element x into the bag. ` `2 Take out an element from the bag.` Given a sequence of oper原创 2017-08-27 10:40:12 · 373 阅读 · 0 评论 -
(CodeForces - 527C)Glass Carving
(CodeForces - 527C)Glass CarvingLeonid wants to become a glass carver (the person who creates beautiful artworks by cutting the glass). He already has a rectangular w mm × h mm sheet of glass, a diamond glass原创 2017-09-04 11:19:49 · 455 阅读 · 0 评论 -
(HDU - 1022)Train Problem I
(HDU - 1022)Train Problem I As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in the Ignatius Train Station is the原创 2017-08-25 18:34:49 · 249 阅读 · 0 评论 -
(HDU - 1896)Stones
(HDU - 1896)Stones Because of the wrong status of the bicycle, Sempr begin to walk east to west every morning and walk back every evening. Walking may cause a little tired, so Sempr always play some games this原创 2017-08-25 17:54:30 · 393 阅读 · 0 评论 -
(CodeForces - 831C)Jury Marks
(CodeForces - 831C)Jury Marks Polycarp watched TV-show where k jury members one by one rated a participant by adding him a certain number of points (may be negative, i. e. points were subtracted). Initially the原创 2017-08-25 17:11:09 · 327 阅读 · 0 评论 -
vector的几种初始化及赋值方式
转载来源: https://blog.youkuaiyun.com/yjunyu/article/details/77728410?locationNum=10&fps=1 vector的几种初始化及赋值方式: (1)不带参数的构造函数初始化 //初始化一个size为0的vector vecto...转载 2018-06-13 17:02:32 · 1626 阅读 · 0 评论