- 博客(4)
- 收藏
- 关注
原创 hdu-1232 畅通工程
畅通工程Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 53720 Accepted Submission(s): 28648Problem Description某省调查城镇交通状况,得到现有城镇道路统计表,
2017-06-10 15:45:07 167
原创 UVa 11729-突击战
有n个部下,每个部下需要完成一项任务。第i个部下需要你话B分钟交代任务,然后立刻执行J分钟完成任务。安排交代任务顺序并计算出所有任务完成的最少时间。 解题思路:执行任务时间长的先安排任务,一个任务安排完就可以安排下一个任务#include#includeusing namespace std;struct p{ int B; int J;}a[10005];
2017-05-15 14:59:34 200
原创 C语言实验题-倒三角形
C语言实验题-倒三角形输入正整数n********* ******* ***** *** *#includeint main(){ int n; scanf("%d",&n); int p,q; p=q=n; for(int j=n; j>0; j--) { for(int i=0; i<p
2017-05-09 21:19:44 2053
原创 hdu1004 Let the Balloon Rise
Problem DescriptionContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the contest is over, they will count the balloons of each color and fi
2017-04-14 20:48:42 236
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人