目前不会做
SCUT_Pein
这个作者很懒,什么都没留下…
展开
-
Sum of mod
DescriptionWe define function F like this,F(n) = ( n % 1 ) + ( n % 2 ) + ( n % 3 ) + ... + ( n %n )Now you are give a postive number n,please find theF(n).Input DescriptionThe in原创 2013-03-03 16:32:07 · 443 阅读 · 0 评论 -
codeForces 35E
Descriptioninputinput.txtoutputoutput.txtNo Great Victory anniversary in Berland has ever passed without the war parade. This year is not an exception. That’s why the preparation原创 2013-02-25 08:41:08 · 763 阅读 · 0 评论 -
Color Stripe--codeForces 219C
DescriptionA colored stripe is represented by a horizontal row of n square cells, each cell is pained one of k colors. Your task is to repaint the minimum number of cells so that no two neighbou原创 2013-02-25 21:54:02 · 723 阅读 · 0 评论 -
Discrete Speed--最短路
ConstraintsTime Limit: 2 secs, Memory Limit: 256 MB , Special Judge DescriptionConsider car trips in a country where there is no friction. Cars in this country do not have engines. Once a car原创 2013-03-18 17:10:33 · 1162 阅读 · 0 评论 -
HDU3367--Pseudoforest
Problem DescriptionIn graph theory, a pseudoforest is an undirected graph in which every connected component has at most one cycle. The maximal pseudoforests of G are the pseudoforest subgraphs of G原创 2013-04-15 12:14:32 · 881 阅读 · 0 评论 -
POJ3007--Organize Your Train part II
DescriptionRJ Freight, a Japanese railroad company for freight operations has recently constructed exchange lines at Hazawa, Yokohama. The layout of the lines is shown in Figure 1.Figure 1: La原创 2013-04-18 19:21:14 · 1351 阅读 · 0 评论 -
UVA261--The Window Property
The Window PropertySuppose you are given a sequence of symbols but you can see only k ( ) consecutive symbols at a time. Then we say the length of the window is k. Moving this window原创 2014-03-07 10:49:54 · 708 阅读 · 0 评论