摘要:        
Description A game-board consists of N fields placed around a circle. Fields are successively numbered from1 to N clockwise. In some fields there may     阅读全文
        posted @ 2017-08-04 14:09
zhber
阅读(146)
评论(0)
推荐(0)
            
        
        
摘要:        
In one well-known algorithm of finding the k-th order statistics we should divide all elements into groups of five consecutive elements and find the m    阅读全文
        posted @ 2017-08-04 14:01
zhber
阅读(283)
评论(0)
推荐(0)
            
        
        
摘要:        
Petya and Gena love playing table tennis. A single match is played according to the following rules: a match consists of multiple sets, each set consi    阅读全文
        posted @ 2017-08-04 13:34
zhber
阅读(244)
评论(0)
推荐(0)
            
        
        
摘要:        
ATMs of a well-known bank of a small country are arranged so that they can not give any amount of money requested by the user. Due to the limited size    阅读全文
        posted @ 2017-08-04 13:21
zhber
阅读(307)
评论(0)
推荐(0)
            
        
        
摘要:        
Simon has an array a1, a2, ..., an, consisting of n positive integers. Today Simon asked you to find a pair of integers l, r (1 ≤ l ≤ r ≤ n), such tha    阅读全文
        posted @ 2017-08-04 13:09
zhber
阅读(241)
评论(0)
推荐(0)
            
        
        
摘要:        
We all know the impressive story of Robin Hood. Robin Hood uses his archery skills and his wits to steal the money from rich, and return it to the poo    阅读全文
        posted @ 2017-08-04 13:02
zhber
阅读(832)
评论(0)
推荐(0)
            
        
        
摘要:        
Alice thinks an integer x is a K-wolf number, if every K adjacent digits in decimal representation of x is pairwised different. Given (L,R,K), please     阅读全文
        posted @ 2017-08-04 12:57
zhber
阅读(241)
评论(0)
推荐(0)
            
        
        
摘要:        
windy定义了一种windy数。 不含前导零且相邻两个数字之差至少为22 的正整数被称为windy数。 windy想知道,在AA 和BB 之间,包括AA 和BB ,总共有多少个windy数? Input 包含两个整数,AA BB 。 满足 1≤A≤B≤20000000001≤A≤B≤2000000    阅读全文
        posted @ 2017-08-04 12:54
zhber
阅读(196)
评论(2)
推荐(0)
            
        
        
摘要:        
A palindromic number or numeral palindrome is a 'symmetrical' number like 16461 that remains the same when its digits are reversed. In this problem yo    阅读全文
        posted @ 2017-08-04 12:51
zhber
阅读(267)
评论(0)
推荐(0)
            
        
        
摘要:        
Jimmy writes down the decimal representations of all natural numbers between and including m and n, (m ≤ n). How many zeroes will he write down? Input    阅读全文
        posted @ 2017-08-04 12:47
zhber
阅读(214)
评论(0)
推荐(1)
            
        
        
摘要:        
A bit is a binary digit, taking a logical value of either 1 or 0 (also referred to as "true" or "false" respectively). And every decimal number has a     阅读全文
        posted @ 2017-08-04 12:41
zhber
阅读(172)
评论(0)
推荐(0)
            
        
        
摘要:        
For a number,if the length of continuous odd digits is even and the length of continuous even digits is odd,we call it odd-even number.Now we want to     阅读全文
        posted @ 2017-08-04 12:35
zhber
阅读(188)
评论(0)
推荐(0)
            
        
        
摘要:        
Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only if it is divisible by     阅读全文
        posted @ 2017-08-04 12:20
zhber
阅读(182)
评论(0)
推荐(0)
            
        
        
摘要:        
A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit as a box wi    阅读全文
        posted @ 2017-08-04 11:29
zhber
阅读(256)
评论(0)
推荐(0)
            
        
        
摘要:        
The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence of the time bomb coun    阅读全文
        posted @ 2017-08-04 11:21
zhber
阅读(149)
评论(0)
推荐(0)
 
                    
                 浙公网安备 33010602011771号
浙公网安备 33010602011771号