File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
src/main/java/com/shuzijun/leetcode/plugin/model Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -70,15 +70,14 @@ public class Constant {
70
70
"\\ #define LOCAL\n " +
71
71
"\n " +
72
72
"//leetcode submit region begin(Prohibit modification and deletion)\n " +
73
- "#ifdef LOCAL\n " +
74
- "\\ #define eval(x) {auto temp =x; cout << #x << \" = \" << temp << endl;}\n " +
75
- "\\ #define test(x,y) if (x!=y) {auto temp=y; cout << \" test failed: \" << #x <<\" expected:\" <<temp<<\" got:\" <<x<<endl;}\n " +
76
- "\\ #define log(x) cout <<x<<endl\n " +
77
- "\\ #else\n " +
73
+ "#ifndef LOCAL\n " +
78
74
"\\ #define eval(x)\n " +
79
75
"\\ #define test(x,y)\n " +
80
76
"\\ #define log(x)\n " +
81
- "#endif\n //" +SUBMIT_REGION_BEGIN +"\n ${question.code}\n //" +SUBMIT_REGION_END ;
77
+ "#endif\n //" + SUBMIT_REGION_BEGIN + "\n ${question.code}\n //" + SUBMIT_REGION_END ;
78
+
79
+
80
+ //leetcode submit region end(Prohibit modification and deletion)
82
81
/**
83
82
* 配置文件版本记录
84
83
*/
@@ -123,11 +122,11 @@ public class Constant {
123
122
/**
124
123
* path
125
124
*/
126
- public static final String DOC_PATH = "doc" + File .separator ;
127
- public static final String DOC_SOLUTION = "doc" + File .separator + "solution" + File .separator ;
128
- public static final String DOC_CONTENT = "doc" + File .separator + "content" + File .separator ;
129
- public static final String DOC_SUBMISSION = "doc" + File .separator + "submission" + File .separator ;
130
- public static final String DOC_NOTE = "doc" + File .separator + "note" + File .separator ;
125
+ public static final String DOC_PATH = "doc" + File .separator ;
126
+ public static final String DOC_SOLUTION = "doc" + File .separator + "solution" + File .separator ;
127
+ public static final String DOC_CONTENT = "doc" + File .separator + "content" + File .separator ;
128
+ public static final String DOC_SUBMISSION = "doc" + File .separator + "submission" + File .separator ;
129
+ public static final String DOC_NOTE = "doc" + File .separator + "note" + File .separator ;
131
130
132
131
133
132
/**
You can’t perform that action at this time.
0 commit comments