div2_B.cpp