6

吸气是我爸呼气是我妈堵桥来  •  3个月前


include <stdio.h>using namespace std;int main () {int a, b, c = 0;scanf("%d%d", &a, &b);while (b % a == 0) { c = c + 1; b = b / a;}printf("%d", c);return 0;}using namespace std;int main () {int a, b, c = 0;scanf("%d%d", &a, &b);while (b % a == 0) { c = c + 1; b = b / a;}printf("%d", c);return 0;}

5-1206 1:33:6 星期


评论:

请先登录,才能进行评论