题解 | #计算带余除法#
计算带余除法
https://www.nowcoder.com/practice/34d3911bf2fd48a285f6396e886a1259?tpId=107&rp=1&ru=%2Fta%2Fbeginner-programmers&qru=%2Fta%2Fbeginner-programmers%2Fquestion-ranking&difficulty=&judgeStatus=&tags=&title=BC18&sourceUrl=&gioEnter=menu
#include <stdio.h>
int main() {
int a, b,s,y;
while (scanf("%d %d", &a, &b) != EOF) {
scanf("%d %d",&a,&b);
s=a/b;
y=a%b;
printf("%d %d",s,y);
}
return 0;
}

