题解 | #牛牛学取余#
牛牛学取余
https://www.nowcoder.com/practice/933a60dcf63e403d901c75f82e3154db
#include <stdio.h>
int main()
{
int a = 0;
int sum = 0;
int b = 0;
scanf("%d %d", &a, &b);
sum = a % b;
printf("%d", sum);
return 0;
}
牛牛学取余
https://www.nowcoder.com/practice/933a60dcf63e403d901c75f82e3154db
#include <stdio.h>
int main()
{
int a = 0;
int sum = 0;
int b = 0;
scanf("%d %d", &a, &b);
sum = a % b;
printf("%d", sum);
return 0;
}
相关推荐