6

小绿是什么 · 发布于 2025-12-06 · 浏览 229 回复 0

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 星期

全部回复 共 0 条

还没有人回复。往下写第一条。

发表回复