随笔分类 - 数学—几何
摘要:Problem Description Eric is playing a game on an infinite plane. On the plane, there is a circular area with radius r1 called the Scoring Area. Every
阅读全文
摘要:链接:https://ac.nowcoder.com/acm/contest/11259/K 来源:牛客网 题目描述 On a distant planet of dreams, Toilet-Ares is packing up the things and memories, ready to
阅读全文
摘要:Problem Description Alice and Bob are playing a game. In this game, there are n straight lines on the 2D plane. Alice will select exactly k straight l
阅读全文
摘要:Problem Description Give you a cube with a side length of n-1. Find the number of equilateral triangles with three points on the cube point. Each side
阅读全文
摘要:链接:https://ac.nowcoder.com/acm/contest/11253/F 来源:牛客网 题目描述 ZYT and ZFeT are great PUAs and both have two girlfriends,but they never think that their g
阅读全文
摘要:Diamond Miner is a game that is similar to Gold Miner, but there are 𝑛n miners instead of 11 in this game. The mining area can be described as a plan
阅读全文
摘要:https://ac.nowcoder.com/acm/contest/9981#question A. 串 考虑先搞出来一个串然后逐渐添加。设dp[i]为长度为i的含有us子串的串的个数,则当dp[i - 1]已经求出来的情况下,第i个位置: 前面已经有us,第i个位置随便添加 dp[i] +=
阅读全文
摘要:链接:https://ac.nowcoder.com/acm/contest/9925/I 来源:牛客网 题目描述 Prof. Du and Prof. Pang plan to build a sky garden near the city of Allin. In the garden, th
阅读全文
摘要:After some basic geometric lessons, Cuber QQ has learned that one can draw one and only one circle across three given distinct points, on a 2D plane.
阅读全文
摘要:Generate three integers , , and in with equal probability independently, and use them as the three right-angle side length o
阅读全文
摘要:The statement of this problem is the same as the statement of problem C1. The only difference is that, in problem C1, nn is always even, and in C2, nn
阅读全文
摘要:The statement of this problem is the same as the statement of problem C2. The only difference is that, in problem C1, nn is always even, and in C2, nn
阅读全文