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

随笔分类 -  模拟

1 2 3 4 5 下一页
[暑假集训--数论]hdu2136 Largest prime factor
摘要:Everybody knows any number can be combined by the prime number. Now, your task is telling me what position of the largest prime factor. The position o 阅读全文
posted @ 2017-08-04 15:48 zhber 阅读(220) 评论(0) 推荐(0)
[暑假集训--数论]hdu1019 Least Common Multiple
摘要: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 e 阅读全文
posted @ 2017-08-04 15:45 zhber 阅读(246) 评论(0) 推荐(0)
[暑假集训--数论]poj1365 Prime Land
摘要:Everybody in the Prime Land is using a prime base number system. In this system, each positive integer x is represented as follows: Let {pi}i=0,1,2,.. 阅读全文
posted @ 2017-08-04 15:37 zhber 阅读(153) 评论(0) 推荐(0)
[暑假集训--数论]poj1595 Prime Cuts
摘要:A prime number is a counting number (1, 2, 3, ...) that is evenly divisible only by 1 and itself. In this problem you are to write a program that will 阅读全文
posted @ 2017-08-04 15:32 zhber 阅读(167) 评论(0) 推荐(0)
[暑假集训--数论]poj2262 Goldbach's Conjecture
摘要:In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture: Every even num 阅读全文
posted @ 2017-08-04 15:29 zhber 阅读(159) 评论(0) 推荐(0)
[暑假集训--数论]poj2909 Goldbach's Conjecture
摘要:For any even number n greater than or equal to 4, there exists at least one pair of prime numbers p1 and p2 such that n = p1 + p2 This conjecture has 阅读全文
posted @ 2017-08-04 15:27 zhber 阅读(139) 评论(0) 推荐(0)
cf496D Tennis Game
摘要: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)
cf524C The Art of Dealing with ATM
摘要: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 阅读(306) 评论(0) 推荐(0)
cf287D Shifting
摘要:John Doe has found the beautiful permutation formula. Let's take permutation p = p1, p2, ..., pn. Let's define transformation f of this permutation: w 阅读全文
posted @ 2017-08-04 09:43 zhber 阅读(272) 评论(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-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-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)
cf602A Two Bases
摘要:A. Two Bases time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Two Bases time limit per 阅读全文
posted @ 2016-08-07 12:19 zhber 阅读(305) 评论(0) 推荐(0)
cf703B Mishka and trip
摘要:B. Mishka and trip time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little Mishka is a gre 阅读全文
posted @ 2016-08-07 11:59 zhber 阅读(277) 评论(0) 推荐(0)
cf703A Mishka and Game
摘要:A. Mishka and Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Mishka and Game tim 阅读全文
posted @ 2016-08-07 11:54 zhber 阅读(278) 评论(0) 推荐(0)
cf702A Maximum Increase
摘要:A. Maximum Increase time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given array c 阅读全文
posted @ 2016-08-05 22:19 zhber 阅读(317) 评论(0) 推荐(0)
cf701B Cells Not Under Attack
摘要:Vasya has the square chessboard of size n × n and m rooks. Initially the chessboard is empty. Vasya will consequently put the rooks on the board one a 阅读全文
posted @ 2016-07-23 12:51 zhber 阅读(272) 评论(0) 推荐(0)
cf701A Cards
摘要:There are n cards (n is even) in the deck. Each card has a positive integer written on it. n / 2 people will play new card game. At the beginning of t 阅读全文
posted @ 2016-07-23 12:49 zhber 阅读(359) 评论(0) 推荐(0)

1 2 3 4 5 下一页