ACM题目,看这个数据怎么处理?
程序代码:
#include<stdio.h> int main() { int T,i; double x,y; scanf("%d",&T); for(i=1;i<=T;i++) { scanf("%lf%lf",&x,&y); printf("case %d:\n",i); printf("%ld + %ld = %ld\n\n",x,y,(int)(x+y)); } getch(); return 0; }这是题目地址OJ http://acm.hdu.
对了,我是在WIntc上面编写的代码,