>>445
既に紫(visited)。問題と入出力例は全部
http://www.ehime-u.ac.jp/ICPC/problems/domestic/d2004/
にある。プログラム例は無いがな。