摘要:
杭电的oj上用System.out.printf格式化输出会常常PE用System.out.println可以于是小结下java的格式化输出:java.text.DecimalFormat 类是个好东东。。。比如保留小数点后两位DecimalFormat df=(DecimalFormat) DecimalFormat.getInstance();df.applyPattern("0.00");S... 阅读全文
posted @ 2010-09-15 16:42
にんじゃ
阅读(512)
评论(0)
推荐(0)
摘要:
Problem DescriptionMost bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the bicycle. A magnet is attached to one of the spokes on the front wheel so that it will ... 阅读全文
posted @ 2010-09-15 16:22
にんじゃ
阅读(382)
评论(0)
推荐(0)
摘要:
Problem DescriptionBoudreaux and Thibodeaux are on the road again . . ."Boudreaux, we have to get this shipment of mudbugs to Baton Rouge by tonight!""Don't worry, Thibodeaux, I already checked ahead.... 阅读全文
posted @ 2010-09-15 15:32
にんじゃ
阅读(351)
评论(0)
推荐(0)
摘要:
Problem DescriptionA relay is a race for two or more teams of runners. Each member of a team runs one section of the race. Your task is to help to evaluate the results of a relay race.You have to proc... 阅读全文
posted @ 2010-09-15 15:00
にんじゃ
阅读(300)
评论(0)
推荐(0)

浙公网安备 33010602011771号