随笔分类 - 字符串_基础题
摘要:小凯的排序 小凯的排序 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 调皮的小凯喜欢排序,拿到什么东西都要排一下序。现在他觉得单一的递增递减排序已经不能
阅读全文
摘要:小Z的A+B 小Z的A+B Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 小Z最喜欢A+B了,没事就研究研究,比如什么大整数A+B(就是1000万万亿+
阅读全文
摘要:一道耗时间的水题 一道耗时间的水题 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: Do you know how to read the phone n
阅读全文
摘要:Problem description Fox Ciel starts to learn programming. The first task is drawing a fox! However, that turns out to be too hard for a beginner, so s
阅读全文
摘要:Problem description Haiku is a genre of Japanese traditional poetry. A haiku poem consists of 17 syllables split into three phrases, containing 5, 7 a
阅读全文
摘要:Problem description A word or a sentence in some language is called a pangram if all the characters of the alphabet of this language appear in it at l
阅读全文
摘要:Problem description Vasya is very upset that many people on the Net mix uppercase and lowercase letters in one word. That's why he decided to invent a
阅读全文
摘要:Problem description Shapur was an extremely gifted student. He was great at everything including Combinatorics, Algebra, Number Theory, Geometry, Calc
阅读全文
摘要:Problem description Vasya works as a DJ in the best Berland nightclub, and he often uses dubstep music in his performance. Recently, he has decided to
阅读全文
摘要:Problem description A TV show called "Guess a number!" is gathering popularity. The whole Berland, the old and the young, are watching the show. The r
阅读全文
摘要:Problem description During the break the schoolchildren, boys and girls, formed a queue of n people in the canteen. Initially the children stood in th
阅读全文
摘要:Problem description wHAT DO WE NEED cAPS LOCK FOR? Caps lock is a computer keyboard key. Pressing it sets an input mode in which typed letters are cap
阅读全文
摘要:Problem description Vasya has recently learned to type and log on to the Internet. He immediately entered a chat room and decided to say hello to ever
阅读全文
摘要:Problem description There are n stones on the table in a row, each of them can be red, green or blue. Count the minimum number of stones to take from
阅读全文
摘要:Problem description Xenia the beginner mathematician is a third year student at elementary school. She is now learning the addition operation. The tea
阅读全文
摘要:Problem description Little Petya loves presents. His mum bought him two strings of the same size for his birthday. The strings consist of uppercase an
阅读全文
摘要:Problem description The classic programming language of Bitland is Bit++. This language is so peculiar and complicated. The language is that peculiar
阅读全文
摘要:Problem description Petya loves football very much. One day, as he was watching a football match, he was writing the players' current positions on a p
阅读全文
摘要:Problem description Petya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed
阅读全文
摘要:统计字符串 统计字符串 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 给定n个字符串,统计字符串的个数。 如给定 5 sss ab sss abcd a
阅读全文