摘要:
传送:https://www.lydsy.com/JudgeOnline/problem.php?id=1935 题意:有$n$个点,$m$个询问,每次询问为一个矩形,问矩形内有多少个点。 数据范围:$0 \le n \le 500000$,$0 \le m \le 500000$,$0 \le x 阅读全文
摘要:
https://blog.csdn.net/wu_tongtong/article/details/78785836 模板: 三维偏序问题。 hdoj5618 Jam's problem again 传送:http://acm.hdu.edu.cn/showproblem.php?pid=5618 阅读全文
摘要:
A. 题意:已知$a,b,c,k$,每次操作为: 1.If a>b then a = a - b.2.If b>c then b = b - c.3.If c>a then c = c - a. 操作k次后,询问最终的$a,b,c$为多少? 分析:暴力模拟即可。 1 #include<bits/st 阅读全文