public int trailingZeroes(int n) {
int count = 0;
while (n>0) {
count+=n/5;
n = n/5;
}
return count;
}
public int trailingZeroes(int n) {
int count = 0;
while (n>0) {
count+=n/5;
n = n/5;
}
return count;
}
本文标题:Other:Given an integer n, return
本文链接:https://www.haomeiwen.com/subject/wgdnrttx.html
网友评论