摘要:
// HDOJ 2101 A + B Problem Too // @author: bos // @date: 2012.2.14 #include <stdio.h> int main() { int a, b; while(scanf("%d%d", &a, &b)!= EOF) { if(( 阅读全文
posted @ 2012-02-14 16:04
ibos
阅读(185)
评论(0)
推荐(0)
摘要:
// HDOJ 2001 计算两点间的距离 // @author: bos // @date: 2012.2.14 #include <stdio.h> #include <math.h> int main() { double x1, x2, y1, y2; while(scanf("%lf%lf 阅读全文
posted @ 2012-02-14 15:06
ibos
阅读(178)
评论(0)
推荐(0)
摘要:
// HDOJ 2002 计算球体积 // @author: bos // @date: 2012.2.14 #define PI 3.1415927 #include <stdio.h> int main() { double r; while(scanf("%lf", &r)!= EOF) { 阅读全文
posted @ 2012-02-14 14:58
ibos
阅读(222)
评论(0)
推荐(0)
摘要:
// HDOJ 2003 求绝对值 // @author: bos // @date: 2012.2.14 #include <stdio.h> int main() { double n; //需用double型才行 while(scanf("%lf", &n)!= EOF) { printf(" 阅读全文
posted @ 2012-02-14 14:50
ibos
阅读(190)
评论(0)
推荐(0)
摘要:
// HDOJ 2046 骨牌铺方格 // @author: bos // @date: 2012.2.13 #include <stdio.h> int main() { int n; int i; _int64 result[51]= {0}; result[1]= 1; result[2]= 阅读全文
posted @ 2012-02-14 00:46
ibos
阅读(192)
评论(0)
推荐(0)
摘要:
// HDOJ 2018 母牛的故事 // @author: bos // @date: 2012.2.13 #include <stdio.h> int main() { int n; int i; int result[55]; result[1]= 1; result[2]= 2; resul 阅读全文
posted @ 2012-02-14 00:45
ibos
阅读(235)
评论(0)
推荐(0)

浙公网安备 33010602011771号