摘要:
D. Power Tower time limit per test 4.5 seconds memory limit per test 256 megabytes input standard input output standard output Priests of the Quetzalc 阅读全文
摘要:
Problem E E 、 小 花梨 的数组 时间限制:1000ms 空间限制:512MB Description 小花梨得到了一个长度为𝑜的数组𝑏,现在要对它进行三种操作: ⚫ 1 𝑠 ] ∗ ⚫ 2 𝑚 𝑠 对所有的𝑗 ∈ [𝑚,𝑠],𝑏[𝑗] = 𝑏[𝑗] / 𝑛𝑗 阅读全文
摘要:
“美登杯”上海市高校大学生程序设计邀请赛 (华东理工大学) D. 小花梨的取石子游戏 Description 小花梨有𝑜堆石子,第𝑗堆石子数量为𝑏𝑗,𝑜堆石子顺时针编号为1 − 𝑜(如图)。 游戏将进行 游戏将进行𝒏轮, 轮, 每轮游戏 单独进行 ,互不干扰 ,每轮初始时第 每轮初始时 阅读全文
摘要:
The Tower "HDU 6559 " The Tower shows a tall tower perched on the top of a rocky mountain. Lightning strikes, setting the building alight, and two peo 阅读全文
摘要:
题目链接:https://acm.ecnu.edu.cn/contest/173/problem/B/ report9 Problem B B 、 小 花梨 的 三角形 时间限制:1000ms 空间限制:512MB Description 小花梨现在有一个𝑜层三角形图(参考下图),第𝑗层有2𝑗 阅读全文
摘要:
Psychos in a Line "CodeForces 319B " There are n psychos standing in a line. Each psycho is assigned a unique integer from 1 to n . At each step every 阅读全文
摘要:
Mike is the president of country What The Fatherland. There are n bears living in this country besides Mike. All of them are standing in a line and th 阅读全文
摘要:
recursion有一个整数序列a[n]。现在recursion有m次询问,每次她想知道Max { A[i]+A[i+1]+...+A[j] ; x1 思路: 首先用https://vjudge.net/problem/SPOJ GSS3 这题的模板可以维护正常的区间询问,单点修改的线段树维护区间最 阅读全文
摘要:
You are given a sequence A[1], A[2], ..., A[N] . ( |A[i]| ≤ 15007 , 1 ≤ N ≤ 50000 ). A query is defined as follows: Query(x,y) = Max { a[i]+a[i+1]+... 阅读全文
摘要:
Oleg the client and Igor the analyst are good friends. However, sometimes they argue over little things. Recently, they started a new company, but the 阅读全文