原创 Beautiful Numbers

Beautiful Numbers Time Limit: 2000MS   Memory Limit: 262144KB   64bit IO Format: Submit Status Description Vitaly

原创 hdu 4277 USACO ORZ

迎參加2016多校聯合訓練的同學們~  USACO ORZ Time Limit: 5000/1500 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) T

原创 hdu 5733 (計算幾何)

Problem Description Given four points ABCD, if ABCD is a tetrahedron, calculate the inscribed sphere of ABCD.   Inp

原创 hdu 5726 GCD(線段樹+預處理)

Problem Description Give you a sequence of N(N≤100,000) integers : a1,...,an(0<ai≤1000,000,000). There are Q(Q≤100,000)

原创 codeforces 55D Beautiful numbers(數位DP)

Description Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer numb

原创 poj 1155

Description A TV-network plans to broadcast an important football match. Their network of transmitters and users can be

原创 POJ 1741 Tree

Description Give a tree with n vertices,each edge has a length(positive integer less than 1001).  Define dist(u,v)=The

原创 bootstrap 分頁

bootstrap分頁 html代碼 <html style="padding-bottom: 54px;"> <title>jquery</title> <script type="text/javascript">

原创 bzoj 2038 [2009國家集訓隊]小Z的襪子(hose)

Description 作爲一個生活散漫的人,小Z每天早上都要耗費很久從一堆五顏六色的襪子中找出一雙來穿。終於有一天,小Z再也無法忍受這惱人的找襪子過程,於是他決定聽天由命…… 具體來說,小Z把這N只襪子從1到N編號,然後從編號L到R(

原创 poj 3162 Walking Race

Description flymouse’s sister wc is very capable at sports and her favorite event is walking race. Chasing after the

原创 hdu 1520

Anniversary party Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission

原创 hihicoder 1251

Today is a rainy day. The temperature is apparently lower than yesterday. Winter is coming. It always leaves people fee

原创 hihoCoder 1257

In school of EECS of Peking University, there is a homework for all freshman — the contest of AI snakes. This contest i

原创 Generators

Problem G. Generators Input file: generators.in Output file: generators.out Little Roman is studying linear congruentia

原创 CF 219D Choosing Capital for Treeland (樹形dp)

D. Choosing Capital for Treeland The country Treeland consists of n cities, some pairs of them are connected with un