题目链接 题意: Your should calculate the total damage to the battlefield. Formally, you should compute f(n)=∑i=1n