- 博客(160)
- 资源 (3)
- 收藏
- 关注

转载 杭电hdu题目分类
1001 整数求和 水题1002 C语言实验题——两个数比较 水题1003 1、2、3、4、5... 简单题1004 渊子赛马 排序+贪心的方法归并1005 Hero In Maze 广度搜索1006 Redraiment猜想 数论:容斥定理1007 童年生活二三事 递推题1008 University 简单hash1009 目标柏林 简单模拟题1010 Rai
2013-08-21 18:16:10
3220
原创 hdu 2098 分拆素数和
#include#include#include#includeconst int N=10010;using namespace std;bool is[N]; int main() { int m,n,t,i,j,k; memset(is,1,sizeof(is)); is[0]=is[1]=0; for(i=4;i<=N;i+=2)
2014-07-31 19:08:23
770
原创 hdu 2421
#include#include#include#define MAXN 1010using namespace std;int prim[MAXN],p[200];void init() { int i, j, k = 0; memset(prim,1,sizeof(prim)); for(i=2;i<35;++i) { if(pr
2014-07-31 19:06:21
730
原创 hdu 1250 Hat's Fibonacci(java大数)
点击打开题目链接Hat's FibonacciTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7407 Accepted Submission(s): 2414Problem Description
2014-07-31 19:02:24
834
原创 hdu
import java.math.*;import java.util.*;public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Integer n,N=102,i; BigInteger []f=new
2014-07-31 18:59:34
662
原创 hdu 4473 Exam
ExamTime Limit: 20000/10000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 951 Accepted Submission(s): 411Problem DescriptionRikka is a high schoo
2014-07-31 18:46:25
659
原创 Ural 1991 The battle near the swamp
1991. The battle near the swampTime limit: 1.0 secondMemory limit: 64 MBGungan: Jar Jar, usen da booma!Jar Jar: What? Mesa no have a booma!Gungan: Here. Taken dis one.In the ba
2014-07-31 18:25:21
769
原创 Ural 1993 This cheeseburger you don't need
1993. This cheeseburger you don't needTime limit: 1.0 secondMemory limit: 64 MBYoda: May the Force be with you.Master Yoda is the oldest member of the Jedi Council. He conducts
2014-07-31 18:21:51
676
原创 Ural 1998 The old Padawan(二分)
1998. The old PadawanTime limit: 0.5 secondMemory limit: 64 MBYoda: Use the Force. Yes. Now, the stone. Feel it. Concentrate!Luke Skywalker is having exhausting practice at a God-f
2014-07-31 18:14:46
932
原创 hdu 4902 Nice boat 2014年多校联合第四场
点击打开题目链接Nice boatTime Limit: 30000/15000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 49 Accepted Submission(s): 17Problem Description
2014-07-31 18:06:17
1049
原创 hdu 4891 The Great Pan 2014多校联合第三场
The Great PanTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1713 Accepted Submission(s): 349Problem Description As a progr
2014-07-31 17:59:14
825
原创 hdu 4882 ZCC Loves Codefires 2014年多校联合第二场
#include#include#include#include#include#define M 100100using namespace std;struct point{ int e; int k; double s;}p[M];bool cmp(point a,point b){ return a.s<b.s;}int main
2014-07-31 17:49:17
698
原创 hdu 4861 Couple doubi 2014年多校联合第一场
Couple doubiTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 943 Accepted Submission(s): 453Problem Description DouBiXp has
2014-07-31 17:41:52
615
原创 hdu 3306 Another kind of Fibonacci
Another kind of FibonacciTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1513 Accepted Submission(s): 577Problem DescriptionA
2014-07-25 20:39:17
621
原创 zoj 3403 Strange Calendar III
Strange Calendar IIITime Limit: 2 Seconds Memory Limit: 65536 KBAs we know, in the Bzu planet and in the cc98 planet, people use special calendar which is similar to that used in the ea
2014-05-30 17:40:02
1222
原创 Codeforces Round #246 (Div. 2) B. Football Kit
B. Football Kittime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputConsider a football tournament where n teams
2014-05-26 16:33:48
757
原创 URAL 1935 Tears of Drowned
1935. Tears of DrownedTime limit: 1.0 secondMemory limit: 64 MBTia Dalma: Come. What service may I do you? You know I demand payment.Jack: I brought payment. Look. An undead monkey. To
2014-05-26 12:40:03
666
原创 zoj 3410 Layton's Escape(贪心+优先队列)
Layton's EscapeTime Limit: 2 Seconds Memory Limit: 65536 KBProfessor Layton is a renowned archaeologist from London's Gressenheller University. He and his apprentice Luke has solved var
2014-05-20 21:44:34
784
原创 zoj 3407 Doraemon's Cake Machine
Doraemon's Cake MachineTime Limit: 2 Seconds Memory Limit: 65536 KBOne day, N kids got one cake (a cylinder in shape). They decided to divide the cake so that everyone can have one piec
2014-05-20 21:35:45
1045
原创 zoj 3406 Another Very Easy Task
#include#include#include#include#includeusing namespace std;int main(){ char a[10010]; int i,j,k; while(gets(a)!=NULL) { // printf("%s\n",a); int t=strlen(a); int tt=0,
2014-05-20 21:18:08
1274
原创 poj 2752 Seek the Name, Seek the Fame(KMP)
点击打开题目链接Seek the Name, Seek the FameTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 11198 Accepted: 5457DescriptionThe little cat is so famous
2014-05-08 21:36:56
463
原创 poj 2533 Longest Ordered Subsequence(最长上升子序列)
Longest Ordered SubsequenceTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 31176 Accepted: 13608DescriptionA numeric sequence of ai is ordered if a1 a
2014-05-08 21:03:07
552
原创 nefu 677 Gift
TimeTime Limit 1000msMemory Limit 65536Kdescription Digital clock use 4 digits to express time, each digit is described by 3*3 characters (in
2014-05-05 16:09:09
582
原创 nefu 627 剪纸游戏(搜索)
剪纸游戏Time Limit 1000msMemory Limit 65536KdescriptionRecently Raven is addicted to paper cutting games. There is a rectangle-shape paper. Its le
2014-05-02 18:41:40
725
原创 nefu 628 Garden visiting(非降路径模板题)
#include#include#include#include#include#includeusing namespace std;typedef long long ll;const int Max=200005;int prime[Max],num,p[Max];int cal(int n,int k){ int res=0; while(n>=k
2014-05-02 18:38:41
1016
原创 nefu 630 Min Chain(扩展欧几里得)
题目:#include#include#include#include#include#includeusing namespace std;long long a,b;long long exgcd(long long m,long long &x,long long n,long long &y) { long long x1,y1,x0,y0; x0
2014-05-02 18:31:21
688
原创 nefu 640 Number Guessing
Number GuessingTime Limit 1000msMemory Limit 65536KdescriptionNumber Guessing is a computer game. First, the computer chooses four different d
2014-05-02 18:26:47
736
原创 nefu 625 Page Replacement
#include #include #include using namespace std;int T;int n,m;queueque;int v[111111];int idx;int ans;int get;int main(){ cin>>T; while (T--) { memset(v,0,sizeof(v)
2014-05-02 18:20:50
1113
原创 nefu 635 Twinkle Twinkle Little Star
Twinkle Twinkle Little StarTime Limit 2000msMemory Limit 65536KdescriptionTwinkle, twinkle, little star, how I wonder what you are.Up above t
2014-05-02 18:07:50
1011
原创 CROC-MBTU 2012, Elimination Round (ACM-ICPC)
代码很烂,将就着看吧~点击打开题目链接A. System Administrator 水题代码: #include#include#include#include#includeusing namespace std;int main(){ double a,b,c; int n,i,j,k; double sum1,sum2,s1
2014-04-21 16:20:49
780
原创 Codeforces Round #150 (Div. 2) B. Undoubtedly Lucky Numbers
点击打开题目链接B. Undoubtedly Lucky Numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp
2014-04-18 13:10:35
1377
原创 Codeforces Round #150 (Div. 2) C. The Brand New Function
The Brand New Functiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus has a sequence, consistin
2014-04-14 17:30:18
1559
原创 Codeforces Round #147 (Div. 2) B. Young Table
B. Young Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got table a, consisting of n rows,
2014-04-08 13:13:14
842
原创 Codeforces Round #143 (Div. 2) D. Magic Box
D. Magic Boxtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Vasya was going home when he saw a box
2014-04-08 12:57:20
792
原创 Codeforces Round #143 (Div. 2) B. Magic, Wizardry and Wonders
B. Magic, Wizardry and Wonderstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya the Great Magician and
2014-04-08 12:46:02
1150
1
原创 Codeforces Round #142 (Div. 2) B - T-primes
B. T-primestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWe know that prime numbers are positive integer
2014-04-03 16:01:43
848
原创 Codeforces Round #142 (Div. 2) C. Shifts
C. Shiftstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a table consisting of n rows and m
2014-04-03 13:25:03
804
原创 Codeforces Round #140 (Div. 2) B. Effective Approach
Codeforces Round #140 (Div. 2)题目链接B. Effective Approachtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output
2014-03-31 19:56:34
743
A Textual-based Technique for Smell Detection
2018-06-19
ModelGoon-4.4.1-site
2017-09-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人