-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
1,274 additions
and
872 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
subprojects/sim/include/sim/add_problem_jobs/add_problem_job.hh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#pragma once | ||
|
||
#include <cstdint> | ||
#include <optional> | ||
#include <sim/jobs/job.hh> | ||
#include <sim/problems/problem.hh> | ||
|
||
namespace sim::add_problem_jobs { | ||
|
||
struct AddProblemJob { | ||
decltype(jobs::Job::id) id; | ||
uint64_t file_id; | ||
decltype(problems::Problem::type) visibility; | ||
bool force_time_limits_reset; | ||
bool ignore_simfile; | ||
decltype(problems::Problem::name) name; | ||
decltype(problems::Problem::label) label; | ||
std::optional<uint64_t> memory_limit_in_mib; | ||
std::optional<uint64_t> fixed_time_limit_in_ns; | ||
bool reset_scoring; | ||
bool look_for_new_tests; | ||
std::optional<decltype(problems::Problem::id)> added_problem_id; | ||
}; | ||
|
||
} // namespace sim::add_problem_jobs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.