摘要:
A. Palindromic Twist A. Palindromic Twist You are given a string ss consisting of nn lowercase Latin letters. nn is even. For each position ii (1≤i≤n1 阅读全文
摘要:
A. Single Wildcard Pattern Matching A. Single Wildcard Pattern Matching You are given two strings ss and tt. The string ss consists of lowercase Latin 阅读全文
摘要:
Problem Description There is an apple tree in front of Taotao's house. When autumn comes, n apples on the tree ripen, and Taotao will go to pick these 阅读全文
摘要:
Problem Description In computer science, a character is a letter, a digit, a punctuation mark or some other similar symbol. Since computers can only p 阅读全文
摘要:
Consider nn initial strings of lower case letters, where no initial string is a prefix of any other initial string. Now, consider choosing kk of the s 阅读全文
摘要:
A. The Rank A. The Rank John Smith knows that his son, Thomas Smith, is among the best students in his class and even in his school. After the student 阅读全文
摘要:
A Alisha's Party Princess Alisha invites her friends to come to her birthday party. Each of her friends will bring a gift of some value vv, and all of 阅读全文