竹園論壇

標題: 105 - The Skyline Problem [打印本頁]

作者: Sylveon    時間: 2014-4-20 14:25
標題: 105 - The Skyline Problem
原題:http://luckycat.kshs.kh.edu.tw/homework/q103.htm
ACCODE:http://ideone.com/Pqs4Dd (BY Sylveon)

雖是三星但好寫


開一串陣列存高度就行了,再在產生變化的地方輸出


所以對INPUT基本上就是畫一畫就行了


被蓋掉的地方不要畫就好


單純…感覺像二星題


甚至覺得有些一星題比它難些|||







歡迎光臨 竹園論壇 (http://forum.tfcis.org/) Powered by Discuz! X3.2