摘要:
class Solution { private: void getNext(int* arr, string str) { int len = str.length(); arr[0] = 0; int j = 0; for (int i = 1; i < len; i++) { while (j 阅读全文
摘要:
// ==UserScript== // @name zhihu // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // 阅读全文
摘要:
public static int NumberLength(Integer num) { int len = 1; while (num >= 10) { num /= 10; len++; } return len; } public static int NumberAt(Integer nu 阅读全文