File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ All notable changes to the "leetcode" extension will be documented in this file.
5
5
修改了解析文本的获取方式,不需要将描述放在代码注释中了。
6
6
# "version": "1.0.6",
7
7
更新了 imports.py
8
+ # "version": "1.0.7",
9
+ 调整了输出期望结果和实际结果的顺序。
Original file line number Diff line number Diff line change 2
2
"name" : " python-leetcode" ,
3
3
"displayName" : " PythonLeetcode" ,
4
4
"description" : " Solve LeetCode problems in VS Code" ,
5
- "version" : " 1.0.6 " ,
5
+ "version" : " 1.0.7 " ,
6
6
"author" : " KuiyuanFu" ,
7
7
"publisher" : " KuiyuanFu" ,
8
8
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -362,10 +362,10 @@ class LeetCodeExecutor implements Disposable {
362
362
block . push ( " print('Example " + ( exampleIndex + 1 ) + ":')" , )
363
363
block . push ( " print('Input : ')" , )
364
364
block . push ( " print('" + example [ 0 ] + "')" , )
365
- block . push ( " print('Output :')" , )
366
- block . push ( " print(str(Solution()." + funcName + "(" + para + ")))" , )
367
365
block . push ( " print('Exception :')" , )
368
366
block . push ( " print('" + example [ 1 ] + "')" , )
367
+ block . push ( " print('Output :')" , )
368
+ block . push ( " print(str(Solution()." + funcName + "(" + para + ")))" , )
369
369
block . push ( " print()" , )
370
370
block . push ( " " , )
371
371
} ) ;
You can’t perform that action at this time.
0 commit comments