- 博客(18)
- 资源 (1)
- 收藏
- 关注
原创 hdu 4893 欧拉函数
Goffi and GCDTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 631 Accepted Submission(s): 228Problem DescriptionGoffi is doing his math ho
2014-12-17 21:01:15
460
原创 poj 2376 区间覆盖
#include#include#include#includeusing namespace std;typedef pair INTERVAL;INTERVAL interval[25005];int N,T;int main(){ int i,j,k,m,n,ans; xxx: while(scanf("%d%d",&N,&T)==2){ for(i=0;i<N;i+
2014-12-01 00:29:18
535
原创 nyoj119 RMQ问题
#include#include#include#includeusing namespace std;int minv[100005][20],maxv[100005][20],arr[100005];int Q,N,ql,qr;int main(){ int i,j,k,m,n; scanf("%d%d",&N,&Q); for(i=0;i<N;i++){ scanf
2014-11-28 17:24:30
454
原创 hdu1881
#include#include#include#include#includeusing namespace std;int fa[10005],M,N;int indegree[10005];int x[20005],y[20005];char c[20005];const char *s[]={"OK","UNCERTAIN","CONFLICT"};int find(
2014-11-26 00:08:40
373
原创 hdu2152
#include#include#include#include#includeusing namespace std;int N,M;int a[105],b[105];int main(){ int i,j,k,m,n,l,r; while(scanf("%d%d",&N,&M)==2){ scanf("%d%d",&l,&r);
2014-11-26 00:07:57
426
原创 hdu1864
#include#include#include#include#includeusing namespace std;int N,M;char s,s1;double Q,t;double arr[120];double sufsum[120];double ans;void solve(int cur,double sum){ if(cur>=M){ ans=ma
2014-11-26 00:05:07
404
原创 poj3669
#include#include#include#include#includeusing namespace std;int M,N;int matrix[305][305];int clock[305][305];int dx[]={-1,1,0,0,0},dy[]={0,0,1,-1,0};int main(){ int i,j,k,m,n,x,y,t; xxx:wh
2014-11-26 00:01:26
450
原创 hdu1098 -数论
Ignatius's puzzleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6563 Accepted Submission(s): 4544Problem DescriptionIgnatius
2014-10-23 10:09:24
493
原创 hdu 1030 Delta-wave
Delta-waveTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5781 Accepted Submission(s): 2203Problem DescriptionA triangle fiel
2014-10-18 10:24:17
360
原创 hdu 1024 Max Sum Plus Plus
Max Sum Plus PlusTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17132 Accepted Submission(s): 5624Problem DescriptionNow I t
2014-10-18 10:14:50
590
原创 hdu 2955 Robberies
RobberiesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 12486 Accepted Submission(s): 4629Problem DescriptionThe aspiring Ro
2014-10-18 09:56:37
296
原创 jobdu 1013开门人和关门人
题目描述: 每天第一个到机房的人要把门打开,最后一个离开的人要把门关好。现有一堆杂乱的机房签到、签离记录,请根据记录找出当天开门和关门的人。输入: 测试输入的第一行给出记录的总天数N ( N> 0 ),下面列出了N天的记录。 每天的记录在第一行给出记录的条目数M (M > 0 ),下面是M行,每行的格式为 证件号码 签到时间 签离时间
2014-09-18 20:37:47
603
原创 hdu 3791 二叉搜索树
二叉搜索树Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2874 Accepted Submission(s): 1261Problem Description判断两序列是否为同一二叉搜索树序列
2014-09-18 20:25:25
543
原创 poj2653-Pick-up sticks
Pick-up sticksTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 9724 Accepted: 3602DescriptionStan has n sticks of various length. He throws them one at a
2014-08-20 23:55:51
602
原创 uva10881解题报告
#include#include#includeusing namespace std;int N;struct ant{ int pos; int dir; int id; bool operator<(const ant&t)const{ return pos<t.pos; }}before[10010
2014-07-29 19:49:56
436
原创 康托展开
http://acm.nyist.net/JudgeOnline/problem.php?pid=139我排第几个时间限制:1000 ms | 内存限制:65535 KB难度:3描述 现在有"abcdefghijkl”12个字符,将其所有的排列中按字典序排列,给出任意一种排列,说出这个排列在所有的排列中是第几小的?输入第一行有一个整数n(0随
2013-07-31 18:20:46
533
Web设计与前端开发秘籍:HTML & CSS 设计与构建网站 [HTML & CSS: Design and Build Websites]
2018-05-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人