03 2024 档案

摘要:Count Valid Paths in a Tree There is an undirected tree with n nodes labeled from 1 to n. You are given the integer n and a 2D integer array edges of 阅读全文
posted @ 2024-03-10 20:43 onlyblues 阅读(12) 评论(0) 推荐(0) 编辑
摘要:F - Earn to Advance Problem Statement There is a grid with N rows and N columns. Let (i,j) denote the square at the i-th row from the top and 阅读全文
posted @ 2024-03-10 16:47 onlyblues 阅读(51) 评论(0) 推荐(1) 编辑
摘要:三点不共线 题目描述 平面上有两个不同的点 AB,你需要找到另一个点 C ,使得这三个点构成的 ACB 恰好为 α。 需要注意的是,在下图中,12 都可以被认为是 ACB ,你只需让其中一个 阅读全文
posted @ 2024-03-08 23:09 onlyblues 阅读(42) 评论(0) 推荐(0) 编辑
摘要:D. Exam in MAC The Master's Assistance Center has announced an entrance exam, which consists of the following. The candidate is given a set s of siz 阅读全文
posted @ 2024-03-06 16:33 onlyblues 阅读(14) 评论(0) 推荐(0) 编辑
摘要:C. Messenger in MAC In the new messenger for the students of the Master's Assistance Center, Keftemerum, an update is planned, in which developers wan 阅读全文
posted @ 2024-03-06 16:32 onlyblues 阅读(70) 评论(6) 推荐(1) 编辑
摘要:圆 题目描述 给出一个圆,圆上等距分布 n 个点,编号为 1n。 另有 m 条线段,第 i 条线段的端点为 xi 和 ,权重为 wi。 定义一个圆是优良的,当且仅当所有线段无交(端点重合也算相交)。 如上图,线段 {14} 与线段 阅读全文
posted @ 2024-03-05 14:34 onlyblues 阅读(11) 评论(0) 推荐(0) 编辑
摘要:G - Compress Strings Problem Statement You are given N strings S1,S2,,SN. Find the minimum length of a string that contains all these 阅读全文
posted @ 2024-03-05 10:34 onlyblues 阅读(42) 评论(0) 推荐(0) 编辑
摘要:D. Pinball There is a one-dimensional grid of length n. The i-th cell of the grid contains a character si, which is either '<' or '>'. When a p 阅读全文
posted @ 2024-03-01 16:20 onlyblues 阅读(12) 评论(0) 推荐(0) 编辑

Web Analytics
点击右上角即可分享
微信分享提示