摘要:
description You are given a directed graph with n nodes and m edges, with all edges having a certain weight. There might be multiple edges and self lo 阅读全文
摘要:
COGS2638. 数列操作ψ 【题目描述】 给定一个数列a,你需要支持的操作:区间and,区间or,询问区间最大值 【输入格式】 一行两个整数n,m,表示数列长度和操作个数。 接下来一行有n个整数,第i个数表示ai。 接下来m行,每一行均为以下三种操作中的一种 1 l r val:ai=ai an 阅读全文