- 博客(15)
- 资源 (4)
- 收藏
- 关注
原创 java中StringBuilder类与String类的区别以及常用功能以及方法
java中StringBuilder类与String类的区别以及常用功能以及方法一。StringBuilder介绍;二。String和StringBuilder的区别;三。构造方法;四。成员方法;五。添加功能;六。反转功能;七。String和StringBuilder之间的相互转换;1。String转换为StringBuilder;2。StringBuilder转换成String;一。Strin...
2019-01-21 17:38:06 2372
原创 java中String类的常用功能以及方法
java中String类的常用功能以及方法一. 构造方法:1. String(String original);2. String(char[] value);3. String(char[] value, int index, int count);二. String类的判断功能:1. boolean equals(Object obj);2. boolean equalsIgnoreCase(...
2019-01-21 16:27:57 1869
原创 【UVA】 1584 --- Circular Sequence
【UVA】 1584 --- Circular SequenceSome DNA sequences exist in circular forms as in the following figure, which shows a circular sequence “CGAGTCAGCT”, that is, the last symbol “T” in “CGAGTCAGCT” is co...
2019-01-15 00:13:19 165
原创 【UVA】 1583 --- Digit Generator
【UVA】 1583 --- Digit GeneratorFor a positive integer N, the digit-sum of N is defined as the sum of N itself and its digits. When Mis the digitsum of N, we call N a generator of M.For example, the ...
2019-01-11 23:34:57 172
原创 【UVA】 340 --- Master-Mind Hints
【UVA】 340 --- Master-Mind HintsMasterMind is a game for two players. One of them, Designer, selects a secret code. The other, Breaker,tries to break it. A code is no more than a row of colored dots....
2019-01-11 22:52:23 204
原创 【UVA】 401 --- Palindromes
【UVA】 401 --- PalindromesA regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string “ABCDEDCBA” is a palindrome because it is the same when t...
2019-01-11 18:14:42 263
原创 【UVA】 10082 --- WERTYU
【UVA】 10082 --- WERTYUA common typing error is to place the hands on the keyboard one row to the right of the correct position. So ‘Q’ is typed as ‘W’ and ‘J’ is typed as ‘K’ and so on. You are to de...
2019-01-11 16:54:10 227
原创 【UVA】 272 --- TEX Quotes
【UVA】 272 --- TEX QuotesTeX is a typesetting language developed by Donald Knuth. It takes source text together with a few typesetting instructions and produces, one hopes, a beautiful document. Beaut...
2019-01-11 16:27:47 337
原创 【CodeForces】 621D --- Rat Kwesh and Cheese
【CodeForces】 621D --- Rat Kwesh and CheeseWet Shark asked Rat Kwesh to generate three positive real numbers x, y and z, from 0.1 to 200.0, inclusive. Wet Krash wants to impress Wet Shark, so all gene...
2019-01-11 01:03:18 570
原创 【HRBUST】 1756 --- Merge Intervals
【HRBUST】 1756 --- Merge IntervalsGiven a collection of intervals, merge all overlapping intervals.For example,Given: [1,3],[2,6],[8,10],[15,18];after meger: [1,6],[8,10],[15,18].InputThere are m...
2019-01-10 22:45:35 251
原创 【CodeForces】 617B --- Chocolate
【CodeForces】 617B --- ChocolateBob loves everything sweet. His favorite chocolate bar consists of pieces, each piece may contain a nut. Bob wants to break the bar of chocolate into multiple pieces so...
2019-01-10 15:36:33 396
原创 【CodeForces】 540D --- Bad Luck Island
【CodeForces】 540D --- Bad Luck IslandThe Bad Luck Island is inhabited by three kinds of species: r rocks, s scissors and p papers. At some moments of time two random individuals meet (all pairs of in...
2019-01-10 00:59:22 285
原创 【CodeForces】 617A --- Elephant
【CodeForces】 617A --- ElephantAn elephant decided to visit his friend. It turned out that the elephant’s house is located at point 0 and his friend’s house is located at point x(x > 0) of the coor...
2019-01-09 22:26:25 339
原创 【CodeForces】 118A --- String Task
【CodeForces】 118A --- String TaskPetya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed to do the following: in the given st...
2019-01-09 21:50:22 273
原创 【CodeForces】 509 --- Maximum in Table
CodeForces 509 Maximum in Table欢迎使用Markdown编辑器An n × n table a is defined as follows:The first row and the first column contain ones, that is: ai, 1 = a1, i = 1 for all i = 1, 2, …, n.Each of the ...
2019-01-09 20:36:19 293
C Primer Plus 第6版中文高清版
2019-02-20
C语言程序设计(第四版)+谭浩强著高清晰版
2019-02-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人