MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / getTotalTimeLimit

Method getTotalTimeLimit

src/core/task.cpp:222–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222auto Task::getTotalTimeLimit() const -> int {
223 int total = 0;
224
225 for (auto *i : testCaseList) {
226 total += i->getTimeLimit() * i->getInputFiles().size();
227 }
228
229 return total;
230}
231
232auto Task::getTotalScore() const -> int {
233 int total = 0;

Callers 3

judgeMethod · 0.45
judgeAllMethod · 0.45

Calls 2

getTimeLimitMethod · 0.45
getInputFilesMethod · 0.45

Tested by

no test coverage detected