eval_stack/
config.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::{path::PathBuf, time::Duration};

#[derive(Debug, Clone)]
pub struct JudgeOptions {
    pub time_limit: Duration,
    pub memory_limit: u64,
}

pub struct TestCase<I, O>
where
    I: Into<PathBuf>,
    O: Into<PathBuf>,
{
    pub input_file: I,
    pub expected_output_file: O,
}