摘要: Open Credit SystemInput:Standard InputOutput:Standard OutputIn an open credit system, the students can choose any course they like, but there is a pro... 阅读全文
posted @ 2015-02-02 19:10 92度的苍蓝 阅读(312) 评论(0) 推荐(0) 编辑
摘要: Song Jiang's rank listTime Limit:1000MSMemory Limit:512000KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 5131Description《Shui Hu Zhuan》,also 《... 阅读全文
posted @ 2015-02-02 19:09 92度的苍蓝 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 int a[10010],w[10010],p[10010],o[10010]; 5 6 void Barrel_Sort( int *a , int n ,int mx ) 7 { 8 int i ; 9 memset ( ... 阅读全文
posted @ 2015-02-02 11:23 92度的苍蓝 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Ultra-QuickSortTime Limit: 7000MSMemory Limit: 65536KTotal Submissions: 44489Accepted: 16176DescriptionIn this problem, you have to analyze a particul... 阅读全文
posted @ 2015-02-01 20:54 92度的苍蓝 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 void Merge( int source[] , int temp[] , int start , int mid , int end ) 4 { 5 int i = start , j = mid + 1 , k = start ; 6... 阅读全文
posted @ 2015-02-01 09:53 92度的苍蓝 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Max SumTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 157635Accepted Submission(s): 36871Problem ... 阅读全文
posted @ 2015-01-26 19:31 92度的苍蓝 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 void Qsort ( int a[] , int low , int high ) 4 { 5 if( low >= high ) 6 return ; 7 int first = low ; 8 int ... 阅读全文
posted @ 2015-01-21 19:45 92度的苍蓝 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1533: Oil DepositsTime Limit: 1 SecMemory Limit: 64 MBSubmit: 477Solved: 303DescriptionThe GeoSurvComp geologic survey company is responsible for dete... 阅读全文
posted @ 2015-01-15 16:58 92度的苍蓝 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1009: josephus问题Time Limit: 1 SecMemory Limit: 64 MBSubmit: 549Solved: 227Descriptionjosephus问题其实就是一个游戏,一群小孩围成一个圈,设置一个数,这个数是个小于小孩总数大于0的一个整数,从第一个小孩开始报数... 阅读全文
posted @ 2015-01-13 15:51 92度的苍蓝 阅读(310) 评论(0) 推荐(0) 编辑
摘要: A+B AgainAccepted : 15 Submit : 243Time Limit : 1000 MS Memory Limit : 65536 KB题目描述上次趣味赛小明的a+b坑了不少不喜欢思考的同学,小明为了表示歉意, 这次出了道简单的a+b给大家当签到题,希望大家能开心刷题。 那... 阅读全文
posted @ 2015-01-12 19:43 92度的苍蓝 阅读(280) 评论(0) 推荐(0) 编辑
http://images.cnblogs.com/cnblogs_com/Running-Time/724426/o_b74124f376fc157f352acc88.jpg