随笔分类 - 思维题
Divisor Subtraction
摘要:Description You are given an integer number nn. The following algorithm is applied to it: if n=0, then end algorithm; find the smallest prime divisor
阅读全文
Maximum Sum of Digits(CodeForces 1060B)
摘要:Description You are given a positive integer nn. Let S(x) be sum of digits in base 10 representation of xx, for example, S(123)=1+2+3=6, S(0)=0. Your
阅读全文
Vasya And Password(CodeForces - 1051A)
摘要:Vasya came up with a password to register for EatForces — a string ss. The password in EatForces should be a string, consisting of lowercase and upper
阅读全文
Factorial(hdu 1124)
摘要:Description The most important part of a GSM network is so called Base Transceiver Station (BTS). These transceivers form the areas called cells (this
阅读全文
Sonya and Robots(CodeForces 1004C)
摘要:Since Sonya is interested in robotics too, she decided to construct robots that will read and recognize numbers. Sonya has drawn nn numbers in a row,
阅读全文
CodeForces - 1015 D.Walking Between Houses
摘要:Description Natasha is planning an expedition to Mars for nn people. One of the important tasks is to provide food for each participant. The warehouse
阅读全文
浙公网安备 33010602011771号