摘要:
将e按从大到小排序,统计前i-1个中比#include#include#include#includeusing namespace std;struct Item{ int s; int e; int x;};int n;Item item[500010];int a[50001... 阅读全文
摘要:
注意处理溢出#include#include#include#includeusing namespace std;long long n;long long a[60][2];int k;int fun(long long y,int x){ long long cnt=0,cur=1; ... 阅读全文