摘要:
非常基本的差分 虽然打了OI,但是几乎没接触过差分 羞于见人啊 不过那时候也不会想这个的把 #####Description N个气球排成一排,从左到右依次编号为1,2,3....N.每次给定2个整数a b(a ⇐ b),lele便为骑上他的“小飞鸽"牌电动车从气球a开始到气球b依次给每个气球涂一次 阅读全文
posted @ 2021-11-25 19:54
Jedi_Pz
阅读(35)
评论(0)
推荐(0)
摘要:
难了老子一天 超 下面有玄学 期待大佬解答 #####Description You are given two positive integer sequences a1.....an,b1......bn . For each j = 1,…,m find the greatest common 阅读全文
posted @ 2021-11-25 19:49
Jedi_Pz
阅读(71)
评论(2)
推荐(0)
摘要:
这个会(大概?) 打来看看 顺便做个数据储备 #####Description 给你一个m×n的整数矩阵,在上面找一个x×y的子矩阵,使子矩阵中所有元素的和最大。 容斥原理的牛逼应用 pre[i][j]表示以(i,j)右下角的矩阵的前缀和 #####Input 输入数据的第一行为一个正整数T,表示有 阅读全文
posted @ 2021-11-25 19:35
Jedi_Pz
阅读(77)
评论(0)
推荐(0)
摘要:
我果然是个初学者级别的five 但是今天level++啦(滑稽) #####Description Suppose that in a Cartesian coordinate system on an infinite plane, the x-axis represents the ground 阅读全文
posted @ 2021-11-25 09:53
Jedi_Pz
阅读(85)
评论(0)
推荐(0)