![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
DemoonWu
这个作者很懒,什么都没留下…
展开
-
练习1.2.2
Climbing WormTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1878 Accepted Submission(s): 1081Problem Descripti原创 2012-11-30 04:51:34 · 215 阅读 · 0 评论 -
贪心算法胖老鼠问题
#include #define max 100 //最多物品数 void sort (int n,float a[max],float b[max]) //按价值密度排序 { int j,h,k; float t1,t2,t3,c[max]; for(k=0;k<=n;k++) c[k]=a[k]/b[k]; for(h=0;h<n;h++) for(j=0;j<=n-h;j+原创 2012-11-19 22:14:31 · 663 阅读 · 0 评论 -
练习1.1.8
A+B for Input-Output Practice (VIII)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16322 Accepted Submission(s): 5242原创 2012-11-19 21:40:59 · 254 阅读 · 0 评论 -
练习1.1.7
A+B for Input-Output Practice (VII)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7790 Accepted Submission(s): 5191原创 2012-11-19 21:21:23 · 203 阅读 · 0 评论 -
练习1.1.6
A+B for Input-Output Practice (VI)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7325 Accepted Submission(s): 5241原创 2012-11-19 21:18:39 · 214 阅读 · 0 评论 -
练习1.1.5
A+B for Input-Output Practice (V)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7218 Accepted Submission(s): 5392原创 2012-11-19 21:16:50 · 236 阅读 · 0 评论 -
练习1.1.4
A+B for Input-Output Practice (IV)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9485 Accepted Submission(s): 5637原创 2012-11-19 21:13:36 · 225 阅读 · 0 评论 -
练习1.1.2
A+B for Input-Output Practice (II)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9138 Accepted Submission(s): 6355原创 2012-11-19 21:08:56 · 235 阅读 · 0 评论 -
练习1.1.1
A+B for Input-Output Practice (I)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15966 Accepted Submission(s): 7311原创 2012-11-19 21:06:51 · 232 阅读 · 0 评论 -
练习1.1.8
A+B for Input-Output Practice (VIII)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16318 Accepted Submission(s): 5239转载 2012-11-19 21:26:18 · 272 阅读 · 0 评论 -
练习1.1.3
A+B for Input-Output Practice (III)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10476 Accepted Submission(s): 6011原创 2012-11-19 21:10:28 · 271 阅读 · 0 评论 -
Problem 1001
Sum ProblemTime Limit: 1000/500 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 184771 Accepted Submission(s): 43962Problem DescriptionHey, welcome原创 2012-11-30 05:18:52 · 268 阅读 · 0 评论 -
VC++6.0 快捷键
CTRL+N:创建新文件 CTRL+]:检测程序中的括号是否匹配CTRL+F5:Excute(!)操作F7:Build操作Alt+F8:整理一段不整洁的代码F5:进行调试visual Studio闪退解决办法1:将 system("pause") 放置程序末尾 解决办法2:在return之前添加cin.get();解决办法3:选中项目-原创 2012-11-25 00:04:55 · 221 阅读 · 0 评论