摘要:
POJ 2418 Hardwood Species "题目传送门" Description Hardwoods are the botanical group of trees that have broad leaves, produce a fruit or nut, and generally 阅读全文
摘要:
洛谷 SP263 Period 题目描述 For each prefix of a given string S\ with N\ characters (each character has an ASCII code between 97 and 126, inclusive), we want 阅读全文
摘要:
POJ 1961 Period "POJ传送门" Description For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclu 阅读全文
摘要:
洛谷 P3373 【模板】线段树 2 "洛谷传送门" 题目描述 如题,已知一个数列,你需要进行下面三种操作: 将某区间每一个数乘上 x x 将某区间每一个数加上 x x 求出某区间每一个数的和 输入格式 第一行包含三个整数 n,m,p n , m , p ,分别表示该数列数字的个数、操作的总个数和模 阅读全文
摘要:
洛谷 SP14932 LCA Lowest Common Ancestor "洛谷评测传送门" 题目描述 A tree is an undirected graph in which any two vertices are connected by exactly one simple path. 阅读全文