摘要:
#6030. 「雅礼集训 2017 Day1」矩阵 题目描述 有一个 n×n 的矩阵,每个位置 (i,j) 如果是 . 表示为白色,如果是 # 表示为黑色。 初始时,每个位置可以是黑色或白色的,(i,j) 位置的值会作为 ai,j 给你。 现在有一种操作,选择两个整数 i,j∈[1,n],记 (i, 阅读全文
摘要:
#6029. 「雅礼集训 2017 Day1」市场 题目描述 从前有一个贸易市场,在一位执政官到来之前都是非常繁荣的,自从他来了之后,发布了一系列奇怪的政令,导致贸易市场的衰落。 有 n nn 个商贩,从 0∼n−1 0 \sim n - 10∼n−1 编号,每个商贩的商品有一个价格 ai a_ia 阅读全文
摘要:
Nadeko's birthday is approaching! As she decorated the room for the party, a long garland of Dianthus-shaped paper pieces was placed on a prominent pa 阅读全文
摘要:
Sengoku still remembers the mysterious "colourful meteoroids" she discovered with Lala-chan when they were little. In particular, one of the nights im 阅读全文
摘要:
A few years ago, Hitagi encountered a giant crab, who stole the whole of her body weight. Ever since, she tried to avoid contact with others, for fear 阅读全文