문제: https://www.acmicpc.net/problem/3020 문제A Japanese firefly has flown into a cave full of obstacles: stalagmites (rising from the floor) and stalactites (hanging from the ceiling). The cave is N units long (where N is even) and H units high. The first obstacle is a stalagmite after which stalactites and stalagmites alternate. Here is an example cave 14 units long and 5 units high (the image co..