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

Method getTotalScore

src/core/task.cpp:232–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232auto Task::getTotalScore() const -> int {
233 int total = 0;
234
235 for (auto *i : testCaseList) {
236 total += i->getFullScore();
237 }
238
239 return total;
240}
241int Task::writeToJson(QJsonObject &in) {
242 WRITE_JSON(in, problemTitle);
243 WRITE_JSON(in, sourceFileName);

Callers 7

refreshViewerMethod · 0.45
refreshMethod · 0.45
refreshViewerMethod · 0.45
exportHtmlMethod · 0.45
exportSmallerHtmlMethod · 0.45
exportCsvMethod · 0.45
exportXlsMethod · 0.45

Calls 1

getFullScoreMethod · 0.45

Tested by

no test coverage detected