![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
线段树
云帆是弟弟
import torch as tf
展开
-
The Preliminary Contest for ICPC Asia Nanjing 2019 A. The beautiful values of the palace (扫描线)
网络赛真是能把我这种蒟蒻做到自闭。。写了几道属于我这种水平的难题 均转载自一起打比赛的聚聚同学:SDUWH_2U 传送门:https://nanti.jisuanke.com/t/41298 Description Here is a square matrix of n∗nn * nn∗n, each lattice has its value (nn must be odd), and th...转载 2019-09-17 22:03:01 · 101 阅读 · 0 评论 -
The Preliminary Contest for ICPC Asia Shanghai 2019 B. Light bulbs(卡了线段树空间的思维题)
传送门:https://nanti.jisuanke.com/t/41399 题目描述 There are $N¥ light bulbs indexed from 000 to N−1N−1N−1. Initially, all of them are off. A FLIPFLIPFLIP operation switches the state of a contiguous subset ...转载 2019-09-20 17:42:28 · 99 阅读 · 0 评论