File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 12
12
13
13
namespace Lemon ::base::config {
14
14
15
+ <<<<<<< HEAD
15
16
int LemonConfigJudge::read (const QJsonObject &json) {
16
17
READ_JSON (json, defaultFullScore);
17
18
READ_JSON (json, defaultTimeLimit);
@@ -20,6 +21,18 @@ namespace Lemon::base::config {
20
21
READ_JSON (json, specialJudgeTimeLimit);
21
22
READ_JSON (json, fileSizeLimit);
22
23
READ_JSON (json, rejudgeTimes);
24
+ =======
25
+ void LemonConfigJudge::read (const QJsonObject &json) {
26
+ READ_JSON_INT (defaultFullScore)
27
+ READ_JSON_INT (defaultTimeLimit)
28
+ READ_JSON_INT (defaultMemoryLimit)
29
+ READ_JSON_INT (compileTimeLimit)
30
+ READ_JSON_INT (specialJudgeTimeLimit)
31
+ READ_JSON_INT (fileSizeLimit)
32
+ READ_JSON_INT (rejudgeTimes)
33
+
34
+ READ_JSON_DOUBLE (defaultExtraTimeRatio)
35
+ >>>>>>> 4862b98 (fix (config): add lost defaultExtraTimeRatio)
23
36
24
37
READ_JSON (json, defaultInputFileExtension);
25
38
READ_JSON (json, defaultOutputFileExtension);
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ namespace Lemon::base::config {
26
26
int specialJudgeTimeLimit{};
27
27
int fileSizeLimit{};
28
28
int rejudgeTimes{};
29
+ double defaultExtraTimeRatio{};
29
30
QString defaultInputFileExtension;
30
31
QString defaultOutputFileExtension;
31
32
QStringList inputFileExtensions;
You can’t perform that action at this time.
0 commit comments