摘要: class Solution { public: int digitAtIndex(int n) { if(!n) return 0; long long start=1,len=1,cnt=1;//记录区间的起始位置,记录区间长度,cnt记录当前是几位数 //往后走,跨度为一个区间 while(1 阅读全文
posted @ 2023-04-21 14:57 穿过雾的阴霾 阅读(15) 评论(0) 推荐(0)