Vases and FlowersTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 3263 Accepted
https://www.u72.net/daima/4h24.html - 2024-09-04 06:17:05 - 代码库题意:一棵根为1的多叉树有n个点,题目有m次询问。第一行输入n和m,第二行输入n-1条边, 以后m行输入操作,操作有两种:1 x val 表示 节点的值x+val,同时它的儿子层
https://www.u72.net/daima/4v92.html - 2024-07-22 07:42:31 - 代码库题目链接:poj 2886 Who Gets the Most Candies?题目大意:N个人围成一圈玩约瑟夫环游戏,不同的是,步长不固定,由前一个出局的人决定,给定K表示起始的人。第i个
https://www.u72.net/daima/5sd5.html - 2024-07-23 06:01:51 - 代码库题目链接:poj 2828 Buy Tickets题目大意:给定N,表示有个人,给定每个人站入的位置,以及这个人的权值,现在按队列的顺序输出每个人的权值。解题思
https://www.u72.net/daima/5sbh.html - 2024-07-23 06:02:27 - 代码库Buy TicketsTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 13618 Accepted: 6802DescriptionRailway tickets were difficult to buy ar
https://www.u72.net/daima/6h5e.html - 2024-07-24 01:04:13 - 代码库维护每个区间的最小值和最大值,update的时候判断low[rt]与up[rt]和p的大小关系,进行更新操作。卡时卡得很紧。#include <iostream>#include <cstdio>#inc
https://www.u72.net/daima/6h9n.html - 2024-07-24 01:10:30 - 代码库题目大意:给出多个不同颜色的矩形,求最后覆盖的颜色的面积。思路分析:我是自己手动暴力枚举。比赛的时候漏了一种情况。RGB 可以从 RG&#43;RB组合来(只是
https://www.u72.net/daima/6k9h.html - 2024-07-24 02:04:49 - 代码库http://acm.hdu.edu.cn/showproblem.php?pid=4419Colourful RectangleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java
https://www.u72.net/daima/6ke5.html - 2024-07-24 02:08:02 - 代码库解题思路: 有两种操作,第一种是将区间 a 到 b 染成颜色 c ,第二种是询问区间 a 到 b 内的颜色,按照顺序输出。 注意到颜色只有三十种,因此我们可以用二进
https://www.u72.net/daima/55ke.html - 2024-07-23 15:06:37 - 代码库DescriptionYou‘ve recently started an ice-cream business in a local school. During a day you have many suppliers delivering the ice-cream
https://www.u72.net/daima/eawm.html - 2024-07-28 02:19:47 - 代码库题目传送门:http://acm.hdu.edu.cn/showproblem.php?pid=1754 I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Jav
https://www.u72.net/daima/ek86.html - 2024-09-14 19:19:55 - 代码库题目链接:huangjing题目意思:给出n头牛的活动区间,比如区间[SI,sj]和[EI,EJ],如果前面一个区间完全包含另外一个区间那么说明前一头牛比后一头牛强壮。思路
https://www.u72.net/daima/eahx.html - 2024-07-28 01:58:39 - 代码库4059: [Cerc2012]Non-boring sequencesTime Limit: 10 Sec Memory Limit: 128 MBSubmit: 632 Solved: 227Description我们害怕把这道题题面搞
https://www.u72.net/daima/m00m.html - 2024-09-17 05:13:57 - 代码库此题和上题略有不同,但是大体差不多,不过要把题意转换过来,题目大体意思为, 输入n, 也就是n个数,这些数为0 - (n-1), 这些数刚开始给定输入的顺序, 然后求他的
https://www.u72.net/daima/m3k8.html - 2024-07-29 20:07:58 - 代码库题目链接:huangjing题意:题目中给了三个操作1:add x 就是把x插进去 2:delete x 就是把x删除3:sum 就是求下标%5=3的元素的和。还有一个条件是插入和删除最
https://www.u72.net/daima/9au4.html - 2024-07-27 01:17:13 - 代码库题目链接:http://poj.org/problem?id=2777DescriptionChosen Problem Solving and Program design as an optional course, you are required to solve
https://www.u72.net/daima/ma7m.html - 2024-07-29 03:46:09 - 代码库问题描述有n个格子,从左到右放成一排,编号为1-n。共有m次操作,有3种操作类型:1.修改一个格子的权值,2.求连续一段格子权值和,3.求连续一段格子的最大值。对于
https://www.u72.net/daima/81w8.html - 2024-09-12 02:37:10 - 代码库Problem DescriptionThere are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even
https://www.u72.net/daima/811c.html - 2024-09-12 02:45:40 - 代码库题目大意:hdu 4027 Can you answer these queries?题目大意:给定一个长度为N的序列,Q次操作,0 l r:将区间l r之间的数开根;1 l r:查询l r之间数的和。解题思路
https://www.u72.net/daima/8415.html - 2024-07-26 17:42:42 - 代码库题目链接:Codeforces 85D - Sum of Medians题目大意:N个操作,add x:向集合中添加x;del x:删除集合中的x;sum:将集合排序后,将集合中所有下标i % 5 = 3的元素累加
https://www.u72.net/daima/83hr.html - 2024-07-26 16:20:58 - 代码库