riverstore / hustoj

Automatically exported from code.google.com/p/hustoj
1 stars 0 forks source link

SPJ will always AC in r708 #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The bug is in judge_client.cc's void judge_solution(int & ACflg, int & 
usedtime, int time_lmt, int isspj,
                int p_id, char * infile, char * outfile, char * userfile, int & PEflg,
                int lang, char * work_dir, int & topmemory, int mem_lmt) 

where comp_res = execute_cmd(buf, "%s/data/%d/spj %s %s %s", oj_home,
                                        p_id, infile, outfile, userfile);
     should be 
                 comp_res = execute_cmd("%s/data/%d/spj %s %s %s", oj_home,
                                        p_id, infile, outfile, userfile);

Original issue reported on code.google.com by elife2...@gmail.com on 13 Jan 2011 at 8:00

GoogleCodeExporter commented 8 years ago
sorry,my fault.
fixed now

Original comment by newsc...@gmail.com on 13 Jan 2011 at 1:59

GoogleCodeExporter commented 8 years ago
r713 fixed this bug,thank you for reporting.

Original comment by newsc...@gmail.com on 13 Jan 2011 at 2:08