常数PK系列说明:
在AC的情况下得分=\(\sum_{i=1}^{10}{1000-runtime\_on\_point_i}\)
RE会显示UKE
UPD:之前的数据太水,导致好多题都在9000分以上,这次加强了数据,请重新提交。若影响了您的正常做题体验,还请谅解。
U69283 【常数PK系列】 #0 输入输出
U69300 【常数PK系列】 #1 排序
U69305 【常数PK系列】 #2 单源最短路
U69308 【常数PK系列】 #3 最小生成树
U69317 【常数PK系列】 #4 LIS最长上升子序列
以下为该系列题目的计分脚本:
@final_time=@time1+@time2+@time3+@time4+@time5+@time6+@time7+@time8+@time9+@time10;
if @status1==AC and @status2==AC and @status3==AC and @status4==AC and @status5==AC and @status6==AC and @status7==AC and @status8==AC and @status9==AC and @status10==AC ;then
@final_status=AC;
@total_score=10000-@final_time;
else
@final_status=UNAC;
@total_score=@score1+@score2+@score3+@score4+@score5+@score6+@score7+@score8+@score9+@score10;
fi
@final_memory=0;
if @memory1>@final_memory;then
@final_memory=@memory1;
fi
if @memory2>@final_memory;then
@final_memory=@memory2;
fi
if @memory3>@final_memory;then
@final_memory=@memory3;
fi
if @memory4>@final_memory;then
@final_memory=@memory4;
fi
if @memory5>@final_memory;then
@final_memory=@memory5;
fi
if @memory6>@final_memory;then
@final_memory=@memory6;
fi
if @memory7>@final_memory;then
@final_memory=@memory7;
fi
if @memory8>@final_memory;then
@final_memory=@memory8;
fi
if @memory9>@final_memory;then
@final_memory=@memory9;
fi
if @memory10>@final_memory;then
@final_memory=@memory10;
fi