Problem 329 possible problem?

Back to General discussions forum

ctraversa     2023-03-20 20:55:42

Hi all.

According to the standard form of roman number:

number 3969 = MMMCMLXIX and not MMMDCCCCLXIX number 3493 = MMMCDXCIII and not MMMCCCCXCIII

as expected from you solution.

Can you please check?

Thank you.

gardengnome     2023-03-20 21:20:55
User avatar

Hi, I am unclear what your question is. 3969 is indeed MMMCMLXIX. Does the checker suggest otherwise?

In your ConvertNumber2Roman method, you have cases for 4 and 9, 40 and 90, but somhow not for 400 and 900 ...

ctraversa     2023-03-22 17:30:12

Oops! It's correct now! Sorry for that. Thank you.

Please login and solve 5 problems to be able to post at forum