Harry And Physical Teacher
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 38 Accepted Submission(s): 34
Problem Description
As we a...
分类:
其他好文 时间:
2014-10-19 00:07:18
阅读次数:
347
题目:Harry And Dig Machine
题意:给一个m*n的矩阵,然后其中最多由10ge...
分类:
系统相关 时间:
2014-10-18 22:25:15
阅读次数:
234
先说一下C题很明显的贪心,自己写了40行左右的代码...而且是略复杂的思路然后看了时间最短的人的代码...瞬间有一种佩服得五体投地的感觉!#include #include using namespace std;int main() { long long a[3]; cin>>a[0...
分类:
其他好文 时间:
2014-10-18 12:34:54
阅读次数:
130
codeforces div2 round 273解题报告...
分类:
其他好文 时间:
2014-10-18 00:47:23
阅读次数:
190
A题1 s = sum(map(int, raw_input().split()))2 print s / 5 if s % 5 == 0 and s / 5 else -1B题1 n, m = map(int, raw_input().split())2 div, lft = n / m, n %...
分类:
其他好文 时间:
2014-10-17 23:14:51
阅读次数:
347
Codeforces Round #273 (Div. 2)
题目链接
A:签到,只要判断总和是不是5的倍数即可,注意判断0的情况
B:最大值的情况是每个集合先放1个,剩下都丢到一个集合去,最小值是尽量平均去分
C:假如3种球从小到大是a, b, c,那么如果(a + b) 2 c的...
分类:
其他好文 时间:
2014-10-17 21:59:50
阅读次数:
377
a.题意很简单,有五个人每个人开始有相同不为0数量的赌注,赌注可以在他们之间流通,给出最终状态,问原来每个人的赌注是多少。 这题在cf a题中也算是个大水题了,加起来看能不能被5整除就可以了。 可是。。。 坑爹的cf卡的要死,2分钟敲完准备交,11分钟才交上去,然后发现wa,然后再读了几遍题发现忘记...
分类:
其他好文 时间:
2014-10-17 13:27:16
阅读次数:
233
题目链接,点击一下Round#273 Div.2==================problem AInitial Bet==================很简单,打了两三场的cf第一次在10分钟内过题判平均数,且注意b为正 1 #include 2 using namespace std; 3...
分类:
其他好文 时间:
2014-10-17 10:05:54
阅读次数:
169
Round Numbers
Time Limit: 2000MS Memory Limit: 65536K
Total Submissions: 9149 Accepted: 3248
Description
The cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Pa...
分类:
其他好文 时间:
2014-10-16 20:52:43
阅读次数:
198
看着题意:[1,i]中等于a[i]的个数要大于[,jn]中等于a[j]的个数 且i mp;ll lowbit(ll x) { return x&(-x);}void add(int i,int val) { while(i =1;i--) { add(bb[i],-1); mp[aa[i]]...
分类:
编程语言 时间:
2014-10-16 19:43:43
阅读次数:
187