File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
CodeStorm.Core/Checkers/Tools Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ public static async Task CheckWindowsAsync()
38
38
{
39
39
CheckerInput checkerInput = new CheckerInput ( )
40
40
{
41
- Language = "cpp " ,
41
+ Language = "py3 " ,
42
42
MemoryLimit = 16000 ,
43
43
TimeLimit = 2000 ,
44
- MissionPath = @"C:\Users\O'tkirbek\Desktop\" ,
45
- SourceCodePath = @"C:\Users\O'tkirbek\Desktop\5.cpp " ,
46
- ProblemSetPath = @"C:\Users\O'tkirbek\Desktop\2000005 "
44
+ TemporaryPath = @"C:\Users\O'tkirbek\Desktop\" ,
45
+ SourceCodePath = @"C:\Users\O'tkirbek\Desktop\init.py " ,
46
+ ProblemSetPath = @"D:\DEVELOPMENT\ASP.NET\API\codestorm-webapi\dependencies\IdentityFiles\92e6743d-6a60-43ee-a295-2b4f53b8fa0a\4000003 "
47
47
} ;
48
48
IChecker checker = new Checker ( ) ;
49
49
var result = await checker . CheckAsync ( checkerInput ) ;
@@ -55,5 +55,7 @@ public static async Task CheckWindowsAsync()
55
55
56
56
Console . WriteLine ( "Memories-->" ) ;
57
57
foreach ( var i in result . MemoryUsages ) Console . WriteLine ( i . Key + '-' + i . Value + " KB" ) ;
58
+
59
+ Console . WriteLine ( result . ErrorMessage ) ;
58
60
}
59
61
}
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ public class PythonChecker : IInterpreted
7
7
public string GetRunnerArgs ( string sourceCodeFilePath )
8
8
=> sourceCodeFilePath ;
9
9
10
- public string GetRunnerName ( ) => "python3 " ;
10
+ public string GetRunnerName ( ) => "py " ;
11
11
}
12
12
}
You can’t perform that action at this time.
0 commit comments