摘要:
Sample Input 4 10 1 7 1 10 2 7 2 Sample Output 5 4 3 2 Hint For the third sample test case, when BaoBao dies for the first time, the money he carries 阅读全文
摘要:
There arenbuckets on the ground, where thei-th bucket containsaistones. Each time one can performone of the following two operations: 1.Remove a stone 阅读全文
摘要:
On a planet far away from Earth, one year is composed of 12 months, and each month always consists of 30 days. Also on that planet, there are 5 days i 阅读全文
摘要:
1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int maxn = 100000+10; 5 int fa[maxn]; 6 void init(int n)//初始化 7 { 8 f 阅读全文