求救自定义积分脚本
  • 板块学术版
  • 楼主ChenHaoQi
  • 当前回复13
  • 已保存回复13
  • 发布时间2025/1/20 10:47
  • 上次更新2025/1/20 13:02:48
查看原帖
求救自定义积分脚本
1421527
ChenHaoQi楼主2025/1/20 10:47

rt\verb!rt!,编译失败。

if(@status1 != AC) or (@status2 != AC) or (@status1=3 != AC) or (@status4 != AC) or (@status5 != AC) or (@status6 != AC) or (@status7 != AC) or (@status8 != AC) or (@status9 != AC) or (@status10 != AC); then	
	@final_status=UNAC;
else
	@final_status=AC;
fi

@total_score=@score1+@score2+@score3+@score4+@score5+@score6+@score7+@score8+@score9+@score10;

if(@time1 >= @time2) and (@time1 >= @time3) and (@time1 >= @time4) and (@time1 >= @time5) and (@time1 >= @time6) and (@time1 >= @time7) and (@time1 >= @time8) and (@time1 >= @time9) and (@time1 >= @time10); then
	@final_time=@time1;
else
	if(@time2 >= @time1) and (@time2 >= @time3) and (@time2 >= @time4) and (@time2 >= @time5) and (@time2 >= @time6) and (@time2 >= @time7) and (@time2 >= @time8) and (@time2 >= @time9) and (@time2 >= @time10); then
		@final_time=@time2;
	else
		if(@time3 >= @time1) and (@time3 >= @time2) and (@time3 >= @time4) and (@time3 >= @time5) and (@time3 >= @time6) and (@time3 >= @time7) and (@time3 >= @time8) and (@time3 >= @time9) and (@time3 >= @time10); then
			@final_time=@time3;
		else
			if(@time4 >= @time1) and (@time4 >= @time2) and (@time4 >= @time3) and (@time4 >= @time5) and (@time4 >= @time6) and (@time4 >= @time7) and (@time4 >= @time8) and (@time4 >= @time9) and (@time4 >= @time10); then
				@final_time=@time4;
			else
				if(@time5 >= @time1) and (@time5 >= @time2) and (@time5 >= @time3) and (@time5 >= @time4) and (@time5 >= @time6) and (@time5 >= @time7) and (@time5 >= @time8) and (@time5 >= @time9) and (@time5 >= @time10); then
					@final_time=@time5;
				else
					if(@time6 >= @time1) and (@time6 >= @time2) and (@time6 >= @time3) and (@time6 >= @time4) and (@time6 >= @time5) and (@time6 >= @time7) and (@time6 >= @time8) and (@time6 >= @time9) and (@time6 >= @time10); then
						@final_time=@time6;
					else
						if(@time7 >= @time1) and (@time7 >= @time2) and (@time7 >= @time3) and (@time7 >= @time4) and (@time7 >= @time5) and (@time7 >= @time6) and (@time7 >= @time8) and (@time7 >= @time9) and (@time7 >= @time10); then
							@final_time=@time7;
						else
							if(@time8 >= @time1) and (@time8 >= @time2) and (@time8 >= @time3) and (@time8 >= @time4) and (@time8 >= @time5) and (@time8 >= @time6) and (@time8 >= @time7) and (@time8 >= @time9) and (@time8 >= @time10); then
								@final_time=@time8;
							else
								if(@time9 >= @time1) and (@time9 >= @time2) and (@time9 >= @time3) and (@time9 >= @time4) and (@time9 >= @time5) and (@time9 >= @time6) and (@time9 >= @time7) and (@time9 >= @time8) and (@time9 >= @time10); then
									@final_time=@time9;
								else
									@final_time=@time10;
								fi
							fi
						fi
					fi
				fi
			fi
		fi
	fi
fi


if(@memory1 >= @memory2) and (@memory1 >= @memory3) and (@memory1 >= @memory4) and (@memory1 >= @memory5) and (@memory1 >= @memory6) and (@memory1 >= @memory7) and (@memory1 >= @memory8) and (@memory1 >= @memory9) and (@memory1 >= @memory10); then
	@final_memory=@memory1;
else
	if(@memory2 >= @memory1) and (@memory2 >= @memory3) and (@memory2 >= @memory4) and (@memory2 >= @memory5) and (@memory2 >= @memory6) and (@memory2 >= @memory7) and (@memory2 >= @memory8) and (@memory2 >= @memory9) and (@memory2 >= @memory10); then
		@final_memory=@memory2;
	else
		if(@memory3 >= @memory1) and (@memory3 >= @memory2) and (@memory3 >= @memory4) and (@memory3 >= @memory5) and (@memory3 >= @memory6) and (@memory3 >= @memory7) and (@memory3 >= @memory8) and (@memory3 >= @memory9) and (@memory3 >= @memory10); then
			@final_memory=@memory3;
		else
			if(@memory4 >= @memory1) and (@memory4 >= @memory2) and (@memory4 >= @memory3) and (@memory4 >= @memory5) and (@memory4 >= @memory6) and (@memory4 >= @memory7) and (@memory4 >= @memory8) and (@memory4 >= @memory9) and (@memory4 >= @memory10); then
				@final_memory=@memory4;
			else
				if(@memory5 >= @memory1) and (@memory5 >= @memory2) and (@memory5 >= @memory3) and (@memory5 >= @memory4) and (@memory5 >= @memory6) and (@memory5 >= @memory7) and (@memory5 >= @memory8) and (@memory5 >= @memory9) and (@memory5 >= @memory10); then
					@final_memory=@memory5;
				else
					if(@memory6 >= @memory1) and (@memory6 >= @memory2) and (@memory6 >= @memory3) and (@memory6 >= @memory4) and (@memory6 >= @memory5) and (@memory6 >= @memory7) and (@memory6 >= @memory8) and (@memory6 >= @memory9) and (@memory6 >= @memory10); then
						@final_memory=@memory6;
					else
						if(@memory7 >= @memory1) and (@memory7 >= @memory2) and (@memory7 >= @memory3) and (@memory7 >= @memory4) and (@memory7 >= @memory5) and (@memory7 >= @memory6) and (@memory7 >= @memory8) and (@memory7 >= @memory9) and (@memory7 >= @memory10); then
							@final_memory=@memory7;
						else
							if(@memory8 >= @memory1) and (@memory8 >= @memory2) and (@memory8 >= @memory3) and (@memory8 >= @memory4) and (@memory8 >= @memory5) and (@memory8 >= @memory6) and (@memory8 >= @memory7) and (@memory8 >= @memory9) and (@memory8 >= @memory10); then
								@final_memory=@memory8;
							else
								if(@memory9 >= @memory1) and (@memory9 >= @memory2) and (@memory9 >= @memory3) and (@memory9 >= @memory4) and (@memory9 >= @memory5) and (@memory9 >= @memory6) and (@memory9 >= @memory7) and (@memory9 >= @memory8) and (@memory9 >= @memory10); then
									@final_memory=@memory9;
								else
									@final_memory=@memory10;
								fi
							fi
						fi
					fi
				fi
			fi
		fi
	fi
fi

编译失败信息:Parse error: Unexpected assign statement, at Offset 51 Position 15, currentNode is if

2025/1/20 10:47
加载中...