Time Limit Exceeded 求逆序对数。
摘要:
/** 题目:Time Limit Exceeded 链接:https://oj.ejq.me/problem/28 题意:求逆序对数。 思路:树状数组求逆序对数。维护前面有多少个 typedef long long ll; using namespace std; const int maxn = 1e6+10; const int mod = 1e9+7; ll c[maxn]; int f... 阅读全文
posted @ 2017-04-11 21:36 hnust_accqx 阅读(169) 评论(0) 推荐(0) 编辑