
贪心
i am a coder
这个作者很懒,什么都没留下…
展开
-
排队打水问题
#include#includeint cmp(const void *a ,const void *b){ return *(int*)a-*(int*)b;}int main(){ int n,r,t[500],a[500],i,s=0; scanf("%d%d",&n,&r); for(i=0;i<n;i++) { sca原创 2013-07-19 19:30:21 · 915 阅读 · 0 评论 -
HDU The Dragon of Loowater
#include#includeint dh[20010],kh[20010];void Qsort(int start,int length,int a[]){ int x = a[start]; int i,j; i = start; j = length -1; while(i < j) { if(x < a[j]) j--; e原创 2013-07-19 19:32:20 · 540 阅读 · 0 评论 -
HDU Robberies
#include#include#include#include#includeusing namespace std;int m[1001];double p[1001];double dp[10001];double max(double a,double b){ if(a>b) { return a; }原创 2013-07-20 15:16:26 · 500 阅读 · 0 评论 -
HDU 数塔
数塔 Time Limit : 1000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 1Font: Times New Roman | Verdana | GeorgiaFont Size: ← →原创 2013-07-22 11:57:23 · 504 阅读 · 0 评论 -
HDU 今年暑假不AC
今年暑假不AC Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 15 Accepted Submission(s) : 12Font: Times New Roman | Verdana | GeorgiaFont Si原创 2013-08-02 17:00:15 · 484 阅读 · 0 评论 -
HDU Moving Tables
Moving Tables Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 22 Accepted Submission(s) : 7Font: Times New Roman | Verdana | GeorgiaFo原创 2013-08-02 17:03:44 · 557 阅读 · 0 评论 -
HDU Wooden Sticks
Wooden Sticks Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 1Font: Times New Roman | Verdana | GeorgiaFon原创 2013-08-04 15:35:49 · 552 阅读 · 0 评论 -
湫湫系列故事――消灭兔子
湫湫系列故事――消灭兔子Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 4544Description 湫湫减肥 越减越肥! 最近,减肥失败的湫湫为发泄心中郁闷,在玩一个消灭免子的游戏。原创 2013-08-08 10:49:07 · 663 阅读 · 0 评论