摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1170这题麻烦在于每次输入之后的接收回车,还有对结果是否是整数的判断,The result should be rounded to 2 decimal places If and only if it is not an integer.View Code #include<stdio.h>#include<conio.h>int main(){ int a,b,t,ans1; double ans2; char c,s[20]; scanf("%d",& 阅读全文
posted @ 2013-04-12 11:57
执着追求的IT小小鸟
阅读(197)
评论(0)
推荐(0)

浙公网安备 33010602011771号