# Roman Sum

Computer Science Level 3

history.com

You thought summation was easy, until you accidentally time-traveled to ancient Rome and you have to deal with arithmetic such as

$\mathtt{CCVII+CXXIII=CCCXXX}$

Fortunately, you brought a roman numeral cheatsheet.

 I V X L C D M 1 5 10 50 100 500 1000

This file contains 100 space-separated roman numerals. What is the sum of all these numbers written in decimal representation?

Notes:

×