Mine NumberTime Limit: 1000ms Memory limit: 
65536K有疑问?点这里^_^题目描述Every one once played the game called Mine Sweeping, here I 
change the rule. You are g...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 01:05:41   
                                阅读次数:
857
                             
                    
                        
                            
                            
                                本文出自:http://blog.csdn.net/svitter/
题意:三种苹果,每种都有对应的Size,Value,给你一个背包空间,求最大的价值。
本题目的关键就在于非常大的背包空间
依据indicates the size (1 <=
 100) 我们可以考虑在1000000(100^3)之外的空间放性价比最高的苹果。为什么时100^3?
要知道背包如果正好填满,而填满...
                            
                            
                                分类:
移动开发   时间:
2014-04-29 13:27:21   
                                阅读次数:
436
                             
                    
                        
                            
                            
                                Pick apples
Time Limit: 1000MS Memory limit: 165536K
题目描述
Once ago, there is a mystery yard which only produces three kinds of apples. The number of each kind is infinite. A girl carrying a...
                            
                            
                                分类:
移动开发   时间:
2014-04-29 13:18:22   
                                阅读次数:
489
                             
                    
                        
                            
                            
                                题目描述
Cainiao is a university student who loves ACM contest very much. It is a festival for him once when he attends ACM Asia Regional Contest because he always can find some famous ACMers there.
C...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 10:33:40   
                                阅读次数:
340
                             
                    
                        
                            
                            
                                Sdut 2416 Fruit Ninja II(山东省第三届ACM省赛 J 题)(解析几何)
数学问题,注意精度...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 21:22:07   
                                阅读次数:
313
                             
                    
                        
                            
                            
                                解题思路:
高数上的三重积分。注意:PI的精度要大些,一开始用的3.1415926通不过,精度太小,后来百度3.1415926535898。还有浮点数的除法记得*1.0。
题目中的oc = ob这条信息特别关键。
代码:
#include 
#include 
#include 
#include 
using namespace std;
#define pi 3.1415...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 21:18:00   
                                阅读次数:
387
                             
                    
                        
                            
                            
                                本文出处:http://blog.csdn.net/svitter
原题:http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=2411
题意:给你一个串,让你依据那个串来输出ppi。坑特别多。ppi的计算方法是dp / inches; dp = sqrt(wp*wp + hp * hp);
现在...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 20:01:20   
                                阅读次数:
655
                             
                    
                        
                            
                            
                                n a^o7 !
Time Limit: 1000MS Memory limit: 65536K
题目描述
All brave and intelligent fighters, next you will step into a distinctive battleground which is full of sweet and happiness. If you wan...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 19:31:28   
                                阅读次数:
598