摘要:
Tufurama CodeForces - 961E 题意:有一部电视剧有n季,每一季有ai集。问有多少对i,j存在第i季第j集也同时存在第j季第i集。 思路:核心问题还是统计对于第i季,你要统计第i行(存在多少数量,要大于i)。 线段树的维护相对而言比较暴力,树状数组的话,一开始全是1,一旦某个数 阅读全文
posted @ 2019-01-21 20:46
千摆渡Qbd
阅读(204)
评论(0)
推荐(0)
摘要:
K-th Number POJ - 2104 You are working for Macrohard company in data structures department. After failing your previous task about key insertion you w 阅读全文
posted @ 2019-01-21 19:35
千摆渡Qbd
阅读(172)
评论(0)
推荐(0)
摘要:
Disharmony Trees HDU - 3015 One day Sophia finds a very big square. There are n trees in the square. They are all so tall. Sophia is very interesting 阅读全文
posted @ 2019-01-21 19:33
千摆渡Qbd
阅读(232)
评论(0)
推荐(0)
摘要:
Xenia and Bit Operations CodeForces - 339D Xenia the beginner programmer has a sequence a, consisting of 2nnon-negative integers: a1, a2, ..., a2n. Xe 阅读全文
posted @ 2019-01-21 19:30
千摆渡Qbd
阅读(271)
评论(0)
推荐(0)
摘要:
G - Gasoline Gym - 101908G #include<cstdio> #include<iostream> #include<algorithm> #include<cstring> #include<sstream> #include<cmath> #include<stack> 阅读全文
posted @ 2019-01-21 09:49
千摆渡Qbd
阅读(212)
评论(0)
推荐(0)

浙公网安备 33010602011771号