摘要: 1 #include 2 #include 3 using namespace std; 4 int judge(int hy,int ay,int dy,int hm,int am,int dm)//计算特定的攻击与防御之下,需要加多少hp 5 { 6 if(am t2)17 ... 阅读全文
posted @ 2015-04-06 15:17 PastLIFE 阅读(184) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 #define sc(x) scanf("%d",&(x)) 5 #define sc1(x) scanf("%lf",&(x)) 6 #define pf(x) printf("%.4lf\n", x) 7 using ... 阅读全文
posted @ 2015-04-06 12:32 PastLIFE 阅读(145) 评论(0) 推荐(0)