#5872: C請問哪裡錯了??


sup19455 (阿三)


#include<stdio.h>
int main(void){
int a, b, c, d ;
while(1){
scanf("%d%d%d%d",&a,&b,&c,&d;)
printf("%d%d",a+b,c+d);
}
return 0;
}

丟到DEV C++ 可以用   但是卻CE  @@

#5879: Re:C請問哪裡錯了??


mofom123 (Hong0308)


#include
int main(void){
int a, b, c, d ;
while(1){
scanf("%d%d%d%d",&a,&b,&c,&d;)
printf("%d%d",a+b,c+d);
}
return 0;
}

丟到DEV C++ 可以用   但是卻CE  @@

妳這樣一次會讀四個數字...

而且如果他有很多組測試資料...就會錯誤