111

lyc是乐子  •  4小时前


include using namespace std;

int main() {

int a, b, c=0; cin >> a >> b; for (int i = 1; b%a==0 ; i++) {

	b = b / a;
	c = c+1;

} cout << c; return 0; }


评论:

请先登录,才能进行评论