cf-246-2-D.cpp