最新 最热

LeetCode 1812. 判断国际象棋棋盘中一个格子的颜色

给你一个坐标 coordinates ,它是一个字符串,表示国际象棋棋盘中一个格子的坐标。下图是国际象棋棋盘示意图。

2021-12-06
2

Leetcode:缀点成线

在一个 XY 坐标系中有一些点,我们用数组 coordinates 来分别记录它们的坐标,其中 coordinates[i] = [x, y] 表示横坐标为 x、纵坐标为 y 的点。

2021-02-01
2

poj 2352 Stars 树状数组

Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star be an amou...

2021-01-22
2

HDOJ 1391 Number Steps(打表DP)

Problem Description Starting from point (0,0) on a plane, we have written all non-negative integers 0, 1, 2,… as shown in the figure. For example, 1, 2, and 3...

2021-01-21
2

HDOJ 2056 Rectangles

Problem Description Given two rectangles and the coordinates of two points on the diagonals of each rectangle,you have to calculate the area of the intersecte...

2021-01-20
2

跟着Nature microbiology学画图~ggplot2散点图添加分组边界

添加分组边界主要参考了文章 https://chrischizinski.github.io/rstats/vegan-ggplot2/

2021-01-06
3

【笔记】《Laplacian Surface Editing》的思路

近来在做三维网格编辑相关的工作,于是看了04年的这篇高引用的经典论文,这篇文章在三维中使用拉普拉斯坐标配合多个限制方法实现了效果不错的网格编辑。因为最近太忙了所以现在才抽空写好总结发出来...

2020-11-09
2

codeforce1196C

n robots have escaped from your laboratory! You have to find them as soon as possible, because these robots are experimental, and their behavior is not tested y...

2020-10-23
2

AIM Tech Round 5 (rated, Div. 1 + Div. 2)C. Rectangles

You are given nn rectangles on a plane with coordinates of their bottom left and upper right points. Some (n−1)(n−1) of the given nn rectangles have some common...

2020-09-28
2

杭电5178 (二分练习!)

pairs John has n points on the X axis, and their coordinates are (x[i],0),(i=0,1,2,…,n−1). He wants to know how many pairs<a,b> that |x[b]−x[a]|≤k.(a<b)

2020-09-11
2