原题链接
思路:求商用 / 求余数用 %
#include <stdio.h>
int main()
{
int a = 0;
int b = 0;
scanf("%d %d", &a, &b);
int m = a / b;
int n = a % b;
printf("%d %d", m, n);
return 0;
}
标签:return,BC18,16,int,scanf,原题,牛客,main
来源: https://blog.csdn.net/jaytinlove/article/details/122664687