2008-12-27から1日間の記事一覧

SRM431 DIV2 1000

A list of non-negative numbers is called satisfactory if the sum of the numbers in the list is equal to S and the product of the numbers is equal to P. Find a satisfactory list with the least possible number of elements, and return its siz…

SRM431 DIV2 250

A positive integer is called a mega cool number if its digits form an arithmetic progression. An arithmetic progression is a sequence of numbers in which the difference between any two consecutive numbers is the same. Return the number of …

SRM431 DIV2 500

問題 You are given a vector X containing the x-coordinates of several points. Each point starts at an infinitely high y-coordinate. Starting with the first point, each point falls down until it is either a distance of R away from a previou…

TopCoderで勉強

自分のレベルが低いのに、改めて気付かされました。 プログラマーを名乗るのが恥ずかしい。 まずは英語を勉強しないと。。。