When I use auto input for my program I get error SIGCONT. but with custom input it runs fine.
Program is fairly easy, sum of digits in a number.
#include <stdio.h>
int main(void) {
// your code goes here
int t,d,r,sum;
scanf("%d",&t);
while (t){
sum =0;
scanf("%d",&d);
while(d){
r = d%10;
sum += r;
d/=10;
}
printf("%d\n",sum);
t–;
}
return 0;
}