摘要:
Codeforces Round #261 (Div. 2)题意:给出数组A,定义f(l,r,x)为A[]的下标l到r之间,等于x的元素数。i和j符合f(1,i,a[i])>f(j,n,a[j]),求i和j的种类数。题解:使用树状数组统计小于某数的元素数量。我们可以先把f(1,i,a[i])和f(j... 阅读全文
摘要:
C - Pashmak and Buses Codeforces Round #261 (Div. 2)C. Pashmak and Busestime limit per test1 secondmemory limit per test256 megabytesinputstandard inp... 阅读全文
摘要:
Pashmak and GardenCodeforces Round #261 (Div. 2)A. Pashmak and Gardentime limit per test1 secondmemory limit per test256 megabytesinputstandard inputo... 阅读全文
摘要:
Pashmak and FlowersCodeforces Round #261 (Div. 2)B. Pashmak and Flowerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inpu... 阅读全文
摘要:
Codeforces Round #261 (Div. 2)E - Pashmak and Graph E. Pashmak and Graphtime limit per test1 secondmemory limit per test256 megabytesinputstandard inp... 阅读全文