using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; //如果账户金额小于0 触发事件 namespace Starter { public delegate int DeleageteClass(out DateTime start, out DateTime stop); class Program { static void
Layton's Escape Time Limit: 2 Seconds Memory Limit: 65536 KB Professor Layton is a renowned archaeologist from London's Gressenheller University. He and his apprentice Luke has solved various mysteries in different places. Unfortunately, Layton
题目描述 LXL进入到了一片丛林,结果他发现有n只怪物排成一排站在他面前.LXL有一杆火枪能对付这些怪物.他知道从左至右数第i只怪物的血量是mi.现在LXL可以将一些子弹射向某个怪物.LXL可以控制他所发射的子弹数量及子弹的威力值.当某个子弹射到第i个怪物,如果这个子弹的威力值为p,除了这个怪物会掉p点血以外,它左边的第j个怪物(j<i),也会遭到Max(0, p - (i - j) * (i - j))的溅射伤害(好神奇的子弹).当某只怪物的血量小于0时,它就死了,但它的尸体还在,即怪物的位置