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

北清初二期末测试

结束 2026-05-21 17:20:00
Contest is over.
当前 2026-09-03 21:06:06

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  •  3个月前

比赛已结束。