The legs of a right triangle are 10 centimeters and 24 centimeters long. What is the length of the hypotenuse?

A. 22 centimeters
B. 26 centimeters
C. 30 centimeters
D. 34 centimeters