刷题路
文章平均质量分 70
子波zibo
这个人是条懒狗,什么也没写
展开
-
Factorial
Problem Description The most important part of a GSM network is so called Base Transceiver Station (BTS). These transceivers form the areas called cells (this term gave the name to the cellular pho原创 2018-01-30 17:18:00 · 263 阅读 · 0 评论 -
As Easy As A+B
Description These days, I am thinking about a question, how can I get a problem as easy as A+B? It is fairly difficulty to do such a thing. Of course, I got it after many waking nights. Give you s原创 2018-01-28 16:31:08 · 245 阅读 · 0 评论 -
Keep on Truckin'
Problem Description Boudreaux and Thibodeaux are on the road again . . . "Boudreaux, we have to get this shipment of mudbugs to Baton Rouge by tonight!" "Don't worry, Thibodeaux, I already ch原创 2018-01-28 16:26:45 · 230 阅读 · 0 评论 -
Edge
Problem Description For products that are wrapped in small packings it is necessary that the sheet of paper containing the directions for use is folded until its size becomes small enough. We assum原创 2018-01-27 18:10:06 · 264 阅读 · 0 评论 -
The 3n + 1 problem
Problems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be analyzing a property of an algorithm whose原创 2018-01-27 17:46:58 · 884 阅读 · 0 评论 -
Fibonacci Again
Fibonacci Again Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 40748 Accepted Submission(s): 19521 Problem Description There原创 2018-01-27 17:01:46 · 186 阅读 · 0 评论 -
Least Common Multiple
Problem Description The least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the numbers in the set. For example, the LCM of 5, 7 and原创 2018-01-27 16:50:33 · 155 阅读 · 0 评论 -
Encoding
Problem Description Given a string containing only 'A' - 'Z', we could encode it using the following method: 1. Each sub-string containing k same characters should be encoded to "kX" where "X"原创 2018-01-27 16:40:32 · 235 阅读 · 0 评论 -
A+B
给定两个整数A和B,其表示形式是:从个位开始,每三位数用逗号","隔开。 现在请计算A+B的结果,并以正常形式输出。 Input 输入包含多组数据数据,每组数据占一行,由两个整数A和B组成(-10^9 < A,B < 10^9)。 Output 请计算A+B的结果,并以正常形式输出,每组数据占一行。 Sample Input -234,56原创 2018-02-03 16:38:59 · 253 阅读 · 0 评论 -
Big Number
Problem Description In many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, encryption, etc. In this problem you ar原创 2018-01-27 15:37:33 · 251 阅读 · 0 评论 -
A Mathematical Curiosity
A. A Mathematical Curiosity Time Limit: 1000ms Memory Limit: 32768KB 64-bit integer IO format: %I64d Java class name: Main Given two integers n and m, count the number of pair原创 2018-01-27 14:19:08 · 322 阅读 · 0 评论 -
MagicBuilding
Problem Description As the increase of population, the living space for people is becoming smaller and smaller. In MagicStar the problem is much worse. Dr. Mathematica is trying to save land by clu原创 2018-02-02 15:56:23 · 205 阅读 · 0 评论 -
Self Numbers
Problem Description In 1949 the Indian mathematician D.R. Kaprekar discovered a class of numbers called self-numbers. For any positive integer n, define d(n) to be n plus the sum of the digits of n原创 2018-01-30 18:40:13 · 439 阅读 · 0 评论 -
Climbing Worm
Description An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a minute before climbing again. During the rest, it slips原创 2018-01-28 16:41:10 · 295 阅读 · 0 评论