c problem 1