Keywords Search Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 86582 Accepted Submission(s): 3 Read More
Cows Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 24787 Accepted: 8296 Description Farmer John's cows have discovered that the clover gr Read More
1 #include <bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 int n,m; 5 const int N=100005; 6 ll cnt[N],arr[N],brr[N]; 7 vector<ll> vec; Read More
You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number Read More
速算24点相信绝大多数人都玩过。就是随机给你四张牌,包括A(1),2,3,4,5,6,7,8,9,10,J(11),Q(12),K(13)。要求只用'+','-','*','/'运算符以及括号改变运算顺序,使得最终运算结果为24(每个数必须且仅能用一次)。游戏很简单,但遇到无解的情况往往让人很郁闷。 Read More
Stars Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 59608 Accepted: 25426 Description Astronomers often examine star maps where stars are Read More