如題, 上傳執行完顯示CE但在DEV C++可正確編譯
可否請教前輩可以指點哪裡出錯 謝謝
#include <stdio.h>
int main(void)
{
long N, a, b, c;
scanf("%d", &N);
for(int i = 1; i <= N; i++)
{
scanf("%d %d %d", &a, &b, &c);
if( a == 1)
{
printf("%d\n", b + c);
} else if ( a == 2) {
printf("%d\n", b - c);
}else if (a == 3){
printf("%d\n", b * c);
}else if (a == 4){
printf("%d\n", b / c);
}
}
return 0;
}