发表评论取消回复
相关阅读
相关 代码源 扫描线权值线段树 板子
矩形面积并(存档) [矩形面积并 - 题目 - Daimayuan Online Judge][- _ - Daimayuan Online Judge] 题意: ![a
相关 [ZJOI2019]线段树
[题目][Link 1] 神题,神题 首先有一个思想就是计数转概率期望,我们发现每次复制一遍线段树最后会有\\(2^m\\)棵线段树过于自闭,于是我们把这个问题转化成一个概
相关 BAPC 2019 G. Gluttonous Goop 线段树扫描线
题目链接:https://nanti.jisuanke.com/t/44323 题意:有若干个小方块,每秒会往八个方向扩展,问k秒后有多少个区域被覆盖 思路:k秒后每个
相关 HDU 1828 Picture (线段树+扫描线+离散化)
A number of rectangular posters, photographs and other pictures of the same shape are pa
相关 POJ 1542 Atlantis (线段树+扫描线+离散化)
There are several ancient Greek texts that contain descriptions of the fabled island Atl
相关 POJ 1389 Area of Simple Polygons(线段树+扫描线+离散化)
There are N, 1 <= N <= 1,000 rectangles in the 2-D xy-plane. The four sides of a rectang
相关 HDU1542线段树+扫描线
<table> <tbody> <tr> <td style="border-color:1a5cc8;"><a href="http://acm.hdu.e
相关 Luogu1382 楼房 (线段树 扫描线)
各种低级错误.jpg,数组开大就过.jpg 线段树离散化扫描线 include <iostream> include <cstdio> inclu
相关 【bzoj4418】[Shoi2013]扇形面积并 扫描线+线段树
题目描述 给定N个同心的扇形,求有多少面积,被至少K个扇形所覆盖。 输入 第一行是三个整数n,m,k。n代表同心扇形的个数,m用来等分 \[-π,π\]的弧度。 从第二
相关 CodeForces903G Yet Another Maxflow Problem 扫描线 + 线段树 + 最小割
给定两条链\\(A, B\\),其中\\(A\\)链某些点向\\(B\\)链有连边,支持修改\\(A\\)链中的某条边权以及查询\\(A\_1\\)到\\(B\_n\\)的最大
还没有评论,来说两句吧...