摘要:
地址 https://www.acwing.com/problem/content/submission/345/ 给定 nn 个变量和 mm 个不等式。其中 nn 小于等于26,变量分别用前 nn 的大写英文字母表示。 不等式之间具有传递性,即若 A>B 且 B>C ,则 A>C。 请从前往后遍历 阅读全文
摘要:
地址 http://poj.org/problem?id=1273 Description Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This mean 阅读全文
摘要:
地址 https://www.acwing.com/problem/content/description/244/ 给定一个长度为N的数列A,以及M条指令,每条指令可能是以下两种之一: 1、“C l r d”,表示把 A[l],A[l+1],…,A[r] 都加上 d。 2、“Q l r”,表示询问 阅读全文