随笔分类 -  二分

摘要: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 阅读(185) 评论(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 阅读(147) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 #define sc(x) scanf("%d", &x) 7 #define sc2(x,y) scanf("%d%d", &x, &y) 8 #define pf... 阅读全文
posted @ 2015-04-05 22:00 PastLIFE 阅读(132) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 #define sc(x) scanf("%d", &x) 7 #define sc2(x,y) scanf("%d%d", &x, &y) 8 #define pf... 阅读全文
posted @ 2015-04-05 21:13 PastLIFE 阅读(11) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 #include 4 #define sc(x) scanf("%d",&(x)) 5 #define pf(x) printf("%.4lf\n", x) 6 using namespace std; 7 int T; 8 double Y;... 阅读全文
posted @ 2015-02-28 17:37 PastLIFE 阅读(135) 评论(0) 推荐(0)