blob: 85385e7536dba8d59d5bb1d2984dfa0e4388f4e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
typedef int (*judgm_manage_queuesubmit_fn)(int subid,int proid,int lang,char *set_data,size_t set_len);
struct judgm_manage_submitinfo{
int subid;
int uid;
int proid;
int lang;
char *param;
char pro_path[PATH_MAX + 1];
FILE *set_file;
};
typedef int (*judgm_manage_submit_fn)(judgm_manage_submitinfo *info,void **manage_data);
struct judgm_manage_resultinfo{
int subid;
int uid;
int proid;
char *res_path;
char *res_data;
int result;
double score;
unsigned long runtime;
unsigned long memory;
};
typedef int (*judgm_manage_result_fn)(judgm_manage_resultinfo *info,void *manage_data);
|