提示:在最后一个子任务中,正确的数据范围应为 $1 \leq n \leq 5000$,而非 $3000$
QOJ.ac
QOJ
			Time Limit:
			2 s		
				Memory Limit:
			512 MB		
				Total points:
			100		
									
#2679. 校园旅行
Statistics
			The problem was used in the following contests:
					
	提示:在最后一个子任务中,正确的数据范围应为 $1 \leq n \leq 5000$,而非 $3000$