码迷,mamicode.com
首页 >  
搜索关键字:多校    ( 1180个结果
HDU OJ 5317 RGCDQ( 2015多校联合训练第3场) 暴力+小技巧
题目连接:戳ME 题意:在一个[L,R]内找到最大的gcd(f[i],f[j])其中L=2次的最大的f[x]。具体看代码。 1 #include 2 #include 3 #include 4 #define clc(a, b) memset(a, b, sizeof(a)) 5 us...
分类:其他好文   时间:2015-07-29 12:11:20    阅读次数:112
2015.07.28 (3)
做多校被虐成狗了---什么都不会啊~~还是觉得把能够想懂一点的,不管是看的别人的题解或者代码的,还是看的标程的,都记录一下--加油------1001 Magician1002 RGCDQ先筛素数,然后记录prime[1] = 2;prime[2] = 3;prime[3] = 5;prime[4]...
分类:其他好文   时间:2015-07-29 11:56:56    阅读次数:107
多校3 1008 Solve this interesting problem
Solve this interesting problemTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1020Accepted Submiss...
分类:其他好文   时间:2015-07-29 11:48:05    阅读次数:110
HDU OJ 5326 Work( 2015多校联合训练第3场) 并查集
题目连接:戳ME#include #include #include using namespace std;const int M = 1e2+5;int n, k;int par[M];int sum[M];void find(int x){ if( par[x]!=x ) { ...
分类:其他好文   时间:2015-07-29 11:46:01    阅读次数:110
hdu5317(2015多校3)--RGCDQ(素数筛+枚举)
题目链接:点击打开链接 题目大意:定义f(i)为组成i的素数的种类,求在区间[l,r]内的gcd(f(i),f(j))  (l 素数筛筛出10^6内的素数,求出每一个数的f(i),可以发现f(i) 在计算区间的时候直接相减,判断一下最大的gcd #include #include #include #include using namespace std ; #define LL ...
分类:其他好文   时间:2015-07-29 10:19:31    阅读次数:114
多校3 1004 Painter
PainterTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 497Accepted Submission(s): 239Problem Descr...
分类:其他好文   时间:2015-07-29 09:04:57    阅读次数:169
2015 多校训练第3场 1011 【树形结构问题】
It’s an interesting experience to move from ICPC to work, end my college life and start a brand new journey in company.As is known to all, every stuff...
分类:其他好文   时间:2015-07-29 09:04:25    阅读次数:185
HDU 5316 Magician(线段树区间合并入门)
本文纯属原创,转载请注明出处谢谢。http://blog.csdn.net/zip_fan。 题目传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5316 Time Limit: 18000/9000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) ...
分类:其他好文   时间:2015-07-28 23:19:41    阅读次数:143
HDU 5319多校 模拟
Problem Description Mr. Hdu is an painter, as we all know, painters need ideas to innovate , one day, he got stuck in rut and the ideas dry up, he took out a drawing board and began to draw casuall...
分类:其他好文   时间:2015-07-28 23:14:32    阅读次数:180
7.28多校1004——模拟——Painter
Problem DescriptionMr. Hdu is an painter, as we all know, painters need ideas to innovate , one day, he got stuck in rut and the ideas dry up, he took...
分类:其他好文   时间:2015-07-28 22:35:03    阅读次数:115
1180条   上一页 1 ... 83 84 85 86 87 ... 118 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!