SRM624/div1med.cpp