c for cf 281 div2 code finished