aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpzread <netfirewall@gmail.com>2012-12-11 08:48:16 +0800
committerpzread <netfirewall@gmail.com>2012-12-11 08:48:16 +0800
commit69d7b55a1c9d3100d42b9c91ab995de44b13d73b (patch)
tree47c57dd78487bebb49339ce5b14c7698a81e5bba
parenta5e3f3a362cd3a76cb5135dcd8439bf99e0e1d91 (diff)
downloadtaiwan-online-judge-69d7b55a1c9d3100d42b9c91ab995de44b13d73b.tar
taiwan-online-judge-69d7b55a1c9d3100d42b9c91ab995de44b13d73b.tar.gz
taiwan-online-judge-69d7b55a1c9d3100d42b9c91ab995de44b13d73b.tar.bz2
taiwan-online-judge-69d7b55a1c9d3100d42b9c91ab995de44b13d73b.tar.lz
taiwan-online-judge-69d7b55a1c9d3100d42b9c91ab995de44b13d73b.tar.xz
taiwan-online-judge-69d7b55a1c9d3100d42b9c91ab995de44b13d73b.tar.zst
taiwan-online-judge-69d7b55a1c9d3100d42b9c91ab995de44b13d73b.zip
Fix line.c judge score problem
-rw-r--r--judge/line.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/judge/line.c b/judge/line.c
index 3f9be28..7468aa7 100644
--- a/judge/line.c
+++ b/judge/line.c
@@ -155,7 +155,9 @@ DLL_PUBLIC int run(struct judgx_line_info *line_info){
status = JUDGE_WA;
}else{
status = thread_info.status;
- score = set_info->score[i];
+ if(status == JUDGE_AC){
+ score = set_info->score[i];
+ }
}
}else{
status = proc_info->status;