pub enum SubgroupVerdict {
Ok,
RuntimeError,
TimeLimitExceeded,
MemoryLimitExceeded,
SecurityError,
WrongAnswer,
PresentationError,
Skipped,
Testing,
}Expand description
Subgroup’s verdict
Variants§
Ok
Ok, full score
RuntimeError
Solution panicked
TimeLimitExceeded
Solution is too slow
MemoryLimitExceeded
Solution uses too much memory
SecurityError
Solution violates security (e.g. tries to access the Internet)
WrongAnswer
Solution gives the wrong answer
PresentationError
Solution prints answer incorrectly
Skipped
Skipped testing for this subgroup because some of it’s dependencies’ verdicts’ aren’t Ok
Testing
Testing on this subgroup now
Trait Implementations§
Source§impl Clone for SubgroupVerdict
impl Clone for SubgroupVerdict
Source§fn clone(&self) -> SubgroupVerdict
fn clone(&self) -> SubgroupVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubgroupVerdict
impl Debug for SubgroupVerdict
Source§impl Default for SubgroupVerdict
impl Default for SubgroupVerdict
Source§fn default() -> SubgroupVerdict
fn default() -> SubgroupVerdict
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubgroupVerdict
impl<'de> Deserialize<'de> for SubgroupVerdict
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SubgroupVerdict
impl Display for SubgroupVerdict
impl Eq for SubgroupVerdict
Source§impl Error for SubgroupVerdict
impl Error for SubgroupVerdict
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SubgroupVerdict
impl PartialEq for SubgroupVerdict
Source§impl Serialize for SubgroupVerdict
impl Serialize for SubgroupVerdict
impl StructuralPartialEq for SubgroupVerdict
Auto Trait Implementations§
impl Freeze for SubgroupVerdict
impl RefUnwindSafe for SubgroupVerdict
impl Send for SubgroupVerdict
impl Sync for SubgroupVerdict
impl Unpin for SubgroupVerdict
impl UnsafeUnpin for SubgroupVerdict
impl UnwindSafe for SubgroupVerdict
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more