原创 SPOJ : Interesting Subset 想法題
INTSUB - Interesting Subset You are given a set X = {1, 2, 3, 4, … , 2n-1, 2n} where n is an integer. You have to f
原创 SPOJ - UCV2013E 數學,逆元
Greedy Walking Reginald is an N-dimensional traveler who wants to return to Filipistonia’s Kingdom. He has an Obses
原创 SPOJ Antisymmetry 迴文串manacher
Antisymmetry Byteasar studies certain strings of zeroes and ones. Let S be such a string. By Sr we will denote the
原创 Gym - 100384 Winter Programming School 2014, Kharkov The 23-d of the Fabruary 2014. (day 9), junior
Problem B. Maximal Difference (Junior) 題意:給你一個n,讓你找出n位數中各個位數相加相等且差值最大的值。 比如n=2就是91和19,所以答案就是72 題解:直接一個個算出來或者找規律,n
原创 hdu 6050 Function 想法題
Function Problem Description You are given a permutation a from 0 to n−1 and a permutation b from 0 to m−1. Define tha
原创 codeforces 26C Parquet 貪心 模擬
Parquet time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output O
原创 codeforces 156B Suspects 暴力
Suspects time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output
原创 ZJNU 1900 Secret Cow Code 想法題 倒推
Secret Cow Code Time Limit: 3000MS Memory Limit: 3000K Total Submissions: 65 Accepted: 18 Description The
原创 ZJNU 1903 Why Did the Cow Cross the Road III 樹狀數組
Why Did the Cow Cross the Road III Time Limit: 3000MS Memory Limit: 3000K Total Submissions: 23 Accepted: 5
原创 SPOJ - IITWPC4F 線段樹
Gopu and the Grid Problem Gopu is interested in the integer co-ordinates of the X-Y plane (0<=x,y<=100000). Each intege
原创 codeforces 777D 水題 暴力
Cloud of Hashtags time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard
原创 ZJNU 1901 Why Did the Cow Cross the Road bfs
Why Did the Cow Cross the Road Time Limit: 3000MS Memory Limit: 3000K Total Submissions: 40 Accepted: 7 De
原创 ZJNU 1712 樹狀數組
VUDU Time Limit: 5000MS Memory Limit: 5000K Total Submissions: 63 Accepted: 23 Description Young Mirko ha
原创 ZJNU 1902 Why Did the Cow Cross the Road II dp
Why Did the Cow Cross the Road II Time Limit: 3000MS Memory Limit: 3000K Total Submissions: 30 Accepted: 10
原创 codeforces 607B 區間dp
Zuma time limit per test2 seconds memory limit per test512 megabytes inputstandard input outputstandard output Geno