2007-06-18 ■ bool used[5] = {0}; int start[5] = {0}; int end[5] = {0}; という話かと思ったら違った。あ、usedの初期値がfalseになってるのか。