aboutsummaryrefslogtreecommitdiffstats
path: root/toj/center/src/jmod_test.h
blob: 844f5c8ec723854a1514ccee93e373925ae2b0ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define LINE_ERRMSG_MAXSIZE 4096

typedef int (*check_init_fn)(int judgk_modfd,char *data_path,char *run_path);
typedef int (*check_run_fn)(int &status,char *err_msg);
typedef int (*check_stop_fn)();

struct line_set_data{
    int id;
};
struct line_result_data{
    int id;
    int status;
    double score;
    unsigned long runtime;
    unsigned long memory;
    char err_msg[LINE_ERRMSG_MAXSIZE];
};