🌈 搜索
📅  最后修改于: 2022-03-11 14:52:15.338000             🧑  作者: Mango
int length = 0; long temp = 1; while (temp <= number) { length++; temp *= 10; } return length;