zhber
有好多做过的题没写下来,如果我还能记得就补吧

随笔分类 -  迷之OJ

1 2 3 下一页
[暑假集训--数位dp]UESTC250 windy数
摘要: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)
[暑假集训--数位dp]LightOj1205 Palindromic Numbers
摘要: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)
[暑假集训--数位dp]LightOJ1140 How Many Zeroes?
摘要: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)
[暑假集训--数位dp]LightOj1032 Fast Bit Calculations
摘要: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 阅读(171) 评论(0) 推荐(0)
Spoj-NETADMIN Smart Network Administrator
摘要:The citizens of a small village are tired of being the only inhabitants around without a connection to the Internet. After nominating the future netwo 阅读全文
posted @ 2017-08-04 10:57 zhber 阅读(163) 评论(0) 推荐(0)
Spoj-ODDDIV Odd Numbers of Divisors
摘要:Given a positive odd integer K and two positive integers low and high, determine how many integers between low and high contain exactly K divisors. In 阅读全文
posted @ 2017-07-24 16:43 zhber 阅读(315) 评论(0) 推荐(0)
Spoj-FACVSPOW Factorial vs Power
摘要:Consider two integer sequences f(n) = n! and g(n) = an, where n is a positive integer. For any integer a > 1 the second sequence is greater than the f 阅读全文
posted @ 2017-07-24 11:27 zhber 阅读(255) 评论(0) 推荐(0)
Spoj-BGSHOOT
摘要:The problem is about Mr.BG who is a great hunter. Today he has gone to a dense forest for hunting and killing animals. Sadly, he has only one bullet i 阅读全文
posted @ 2017-07-15 12:26 zhber 阅读(156) 评论(0) 推荐(0)
Spoj-ANTP Mr. Ant & His Problem
摘要:Mr. Ant has 3 boxes and the infinite number of marbles. Now he wants to know the number of ways he can put marbles in these three boxes when the follo 阅读全文
posted @ 2017-07-15 12:19 zhber 阅读(201) 评论(0) 推荐(0)
Spoj-BIPCSMR16 Team Building
摘要:To make competitive programmers of BUBT, authority decide to take regular programming contest. To make this contest more competitive and fruitful ther 阅读全文
posted @ 2017-07-15 12:07 zhber 阅读(266) 评论(0) 推荐(0)
Spoj-BLMIRINA Archery Training
摘要:Mirana is an archer with superpower. Every arrow she shoots will get stronger the further it travels. Mirana is currently on the way to warzone. Since 阅读全文
posted @ 2017-07-12 00:38 zhber 阅读(157) 评论(0) 推荐(0)
Spoj-BITDIFF Bit Difference
摘要:Given an integer array of N integers, find the sum of bit differences in all the pairs that can be formed from array elements. Bit difference of a pai 阅读全文
posted @ 2017-07-12 00:25 zhber 阅读(175) 评论(0) 推荐(0)
Spoj-VISIBLEBOX Decreasing Number of Visible Box
摘要:Shadowman loves to collect box but his roommates woogieman and itman don't like box and so shadowman wants to hide boxes as many as possible. A box ca 阅读全文
posted @ 2017-07-12 00:20 zhber 阅读(225) 评论(0) 推荐(0)
Spoj-NPC2015A Eefun Guessing Words
摘要:Eefun Guessing Words Eefun is currently learning to read. His way of learning is unique, by trying to make every possible substring from a given strin 阅读全文
posted @ 2017-07-11 23:29 zhber 阅读(231) 评论(0) 推荐(0)
Spoj-BOKAM143SOU Checking cubes.
摘要:Given a integer N. Find number of possible ways to represent N as a sum of at most five cubes. Input First line contains N. 1<=N<=125000. Output Outpu 阅读全文
posted @ 2017-07-11 23:26 zhber 阅读(162) 评论(0) 推荐(0)
Spoj-TRNGL Make Triangle
摘要:Make Triangle Chayanika loves Mathematics. She is learning a new chapter geometry. While reading the chapter a question came in her mind. Given a conv 阅读全文
posted @ 2017-07-11 22:26 zhber 阅读(254) 评论(0) 推荐(0)
Spoj-DWARFLOG Manipulate Dwarfs
摘要:Manipulate Dwarfs In a small village beyond seven hills and seven seas, Snow White lives together with N dwarves who spend all their time eating and p 阅读全文
posted @ 2017-07-11 22:21 zhber 阅读(239) 评论(0) 推荐(0)
Spoj-DRUIDEOI Fata7y Ya Warda!
摘要:Fata7y Ya Warda! Druid (AKA Amr Alaa El-Deen) and little EOIers have finished their training and they are playing "Fatta7y ya warda!". It's a kids gam 阅读全文
posted @ 2017-07-11 22:15 zhber 阅读(175) 评论(0) 推荐(0)
LightOJ1106 Gone Fishing
摘要:Gone Fishing John is going on a fishing trip. He has h hours available, and there are n lakes in the area all reachable along a single, one-way road. 阅读全文
posted @ 2017-07-11 22:10 zhber 阅读(170) 评论(0) 推荐(0)
LightOJ1125 Divisible Group Sums
摘要:Divisible Group Sums Given a list of N numbers you will be allowed to choose any M of them. So you can choose in NCM ways. You will have to determine 阅读全文
posted @ 2017-07-11 21:32 zhber 阅读(133) 评论(0) 推荐(0)

1 2 3 下一页