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 1212
1313namespace Lemon ::base::config {
1414
15+ <<<<<<< HEAD
1516 int LemonConfigJudge::read (const QJsonObject &json) {
1617 READ_JSON (json, defaultFullScore);
1718 READ_JSON (json, defaultTimeLimit);
@@ -20,6 +21,18 @@ namespace Lemon::base::config {
2021 READ_JSON (json, specialJudgeTimeLimit);
2122 READ_JSON (json, fileSizeLimit);
2223 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)
2336
2437 READ_JSON (json, defaultInputFileExtension);
2538 READ_JSON (json, defaultOutputFileExtension);
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ namespace Lemon::base::config {
2626 int specialJudgeTimeLimit{};
2727 int fileSizeLimit{};
2828 int rejudgeTimes{};
29+ double defaultExtraTimeRatio{};
2930 QString defaultInputFileExtension;
3031 QString defaultOutputFileExtension;
3132 QStringList inputFileExtensions;
You can’t perform that action at this time.
0 commit comments