插件编译:

8.0-dev

设置备份

FileName:

$!velocityTool.camelCaseName(${question.titleSlug})${question.frontendQuestionId}

CodeTemplate:

${question.content}

package leetcode.editor.cn;
// ${question.frontendQuestionId} ${question.title}
public class $!velocityTool.camelCaseName(${question.titleSlug})${question.frontendQuestionId}{
    public static void main(String[] args) {
        Solution solution = new $!velocityTool.camelCaseName(${question.titleSlug})${question.frontendQuestionId}().new Solution();
        long startTime=System.currentTimeMillis();
        long endTime=System.currentTimeMillis();
        System.out.println("程序运行时间: " + ((time > 10000) ? time / 1000 + "s" : time + "ms"));
    }
${question.code}
}