My issue
Im getting runtime error but while test running its showing no errors for any test cases , not even special ones
My code
#include <stdio.h>
int main(void) {
int T,N,K;
scanf("%d",&T);
for(int i=0;i<T;i++)
{
scanf("%d %d",&N,&K);
printf("%d\n",(N%K));
}
return 0;
}
Learning course: Level up from 1* to 2*
Problem Link: CodeChef: Practical coding for everyone