add candy.cpp but time limit exceed
add candy.cpp