返回小组 开始 2026-05-21 13:40:00

北清初二期末测试

结束 2026-05-21 17:20:00
Contest is over.
当前 2026-05-23 17:52:34

333

include

using namespace std;

int main() {

int a, b;
cin >> a >> b;
int cnt=0;
while(b%a==0){
	cnt++;
	b/=a;
}
cout << cnt;

return 0;

}


20120224a  •  2天前

比赛已结束。