Roman numeral
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Convert the Roman numeral into the Arabic numeral.
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
III
Sample output:
3
Sample input:_
IV
XIX
LX
MDIX
Sample output:
4
19
60
1509
Sample input:_
DCCCXLII
MDCCCXXXVIII
CCI
MDCLXXIX
DLVIII
MDCCXXVI
CCII
MDLXXXIII
MCDXCII
MCCCV
MCCCXXIII
MCCXLI
CXIX
CCCLVII
MCD
CLXXV
MDCCCLXVIII
MCXIX
DCCCLXXV
MCCCLXXI
DCXLV
CMXXXIII
MCMXLVII
MCCLXII
MCMLXXI
MCXII
CCLXXXIV
MDXII
CCCLXII
DCCLXXVII
MDCXXXIII
MCDXXXIII
CCXI
MCXCIV
MCMXLVIII
CDXVIII
MCCCLXXXIII
DCCXXXV
CDLXII
MDCXCVI
DCXXVII
MDXCII
DXCII
MCCXXXIX
CCCLII
MDCCCI
XXVII
DCCCXCVII
MLXXXVII
MDCXVI
CCLXV
CCLXXIX
MCCCLXXV
MCCIV
MCLXX
DCCCLXXII
MDCCXLV
MDCCXXXVI
MDCCCXLVI
DCCX
MCCCXXXIII
MCCLXVIII
CCLXIV
CMXXXVIII
MDCLXIX
CCLIII
MDCCIV
CDX
MLXVIII
MCMLXX
MCDXCI
LII
MDCCCLXVII
DXXXVIII
MDCCCLII
MDCXXI
MCCCL
DLXXIX
MDCCCLXVI
DCCCLXXVII
MCMXLVI
CDXL
MCCXII
CMXCV
MDCCLXIX
DCCCIX
CCXXXI
CDXXV
DLXXVIII
DCCCXXIX
CCCXVIII
DCCXXXVI
CCLXXI
CXXXIII
MCCXXV
DCCXXVII
CCXLVIII
CDXCVI
MXXIX
CDLXXXVI
DCCLXXXIX
MCMLVI
MLIV
MDCCCXXII
MDCLXXV
CDXC
CCCXVI
MCCLXIII
MDXIX
CCCXC
CCCLXXIV
DCLX
MDCCXX
MDCCCLVI
MDXXXIII
DX
MCCCLXXXII
MCXCII
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II
MCDXVIII
DXLI
CCLXXXVI
MDCXCVII
DI
CCXXXV
MXVI
DCCCLXXIII
DCX
MDCXXIII
MCMXIX
MCMXX
MCCCXCIX
CDLXVIII
DCCII
CDLIX
MCDXXI
DCCCLVI
DLVI
MCXCVIII
XCVII
MXCV
MCMLXXIX
MCCCXIX
DLXII
CCXLI
DCCCXLVI
CCXXXIII
DCCXX
MLXV
MCMLXVI
MCLIX
MCMXVIII
MXXX
MCCLVIII
MCCCVI
DCCCLI
CMLXXI
CI
Sample output:
842
1838
201
1679
558
1726
202
1583
1492
1305
1323
1241
119
357
1400
175
1868
1119
875
1371
645
933
1947
1262
1971
1112
284
1512
362
777
1633
1433
211
1194
1948
418
1383
735
462
1696
627
1592
592
1239
352
1801
27
897
1087
1616
265
279
1375
1204
1170
872
1745
1736
1846
710
1333
1268
264
938
1669
253
1704
410
1068
1970
1491
52
1867
538
1852
1621
1350
579
1866
877
1946
440
1212
995
1769
809
231
425
578
829
318
736
271
133
1225
727
248
496
1029
486
789
1956
1054
1822
1675
490
316
1263
1519
390
374
660
1720
1856
1533
510
1382
1192
1825
593
1732
1927
1714
190
1570
154
1790
826
823
146
1161
448
803
1830
1301
1793
1288
1035
797
715
1828
1322
237
844
124
135
1562
1244
153
1196
700
677
1582
1903
1243
1303
1827
910
1500
1447
443
1111
1823
375
1707
223
874
1295
392
958
1294
102
1891
408
751
750
1038
838
1175
584
819
885
1033
755
1248
511
557
969
1505
1663
24
243
345
1845
1108
1685
794
1705
899
1138
1630
1641
67
1952
1693
744
1220
479
1236
1216
714
528
1061
1814
320
62
321
1098
1573
679
545
1780
1887
1279
1893
1315
1125
1761
553
1048
494
882
433
680
879
926
530
1272
323
376
1090
1772
168
144
313
1237
217
1501
1345
630
682
1339
1291
1173
74
811
116
1379
606
1147
1418
541
286
1697
501
235
1016
873
610
1623
1919
1920
1399
468
702
459
1421
856
556
1198
97
1095
1979
1319
562
241
846
233
720
1065
1966
1159
1918
1030
1258
1306
851
971
101
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban | 63 | 0.0532 | 2010/07/18 02:01:03 | 0B / 38B / 24B |
2 | murky-satyr | 96 | 0.0902 | 2010/07/17 01:29:45 | 0B / 47B / 41B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | ySas | 63 | 0.1761 | 2010/07/14 10:18:09 | 0B / 38B / 24B |
2 | MG | 88 | 0.0354 | 2010/07/16 01:27:16 | 0B / 50B / 35B |
3 | eban | 89 | 0.0258 | 2010/07/14 13:17:20 | 0B / 38B / 48B |
4 | dcutter | 92 | 0.0383 | 2010/07/21 01:07:18 | 0B / 41B / 49B |
5 | Mithran | 106 | 0.0573 | 2010/07/10 12:40:36 | 0B / 67B / 38B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kozima | 87 | 0.4069 | 2010/07/20 08:35:57 | 0B / 47B / 36B |
2 | quijote | 89 | 0.3911 | 2010/07/20 07:01:57 | 0B / 55B / 32B |
3 | youz | 148 | 0.6224 | 2010/07/23 11:54:19 | 0B / 76B / 59B |
4 | Hawkseye | 502 | 0.2402 | 2010/07/14 22:42:59 | 0B / 291B / 133B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | nn | 103 | 0.0989 | 2010/07/18 12:23:19 | 0B / 57B / 46B |
2 | murky-satyr | 105 | 0.0651 | 2010/07/13 23:08:40 | 0B / 53B / 50B |
3 | murky-satyr | 88 | 0.0706 | 2010/07/26 07:54:40 | 0B / 51B / 35B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 60 | 0.1768 | 2010/07/15 23:20:32 | 0B / 24B / 34B |
2 | I., S. | 55 | 0.1854 | 2012/03/25 05:57:11 | 0B / 21B / 32B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | inaniwa | 93 | 0.0019 | 2010/07/22 20:59:58 | 5B / 44B / 44B |
2 | inaniwa(not original) | 96 | 0.0189 | 2010/07/22 16:30:20 | 0B / 53B / 43B |
3 | hallvabo | 98 | 0.0024 | 2010/07/22 05:43:57 | 0B / 55B / 43B |
4 | nu | 99 | 0.0018 | 2010/07/15 05:42:14 | 7B / 44B / 47B |
5 | nai | 100 | 0.0022 | 2010/07/14 02:22:29 | 3B / 49B / 48B |
6 | nn | 102 | 0.0018 | 2010/07/18 13:23:05 | 3B / 52B / 47B |
7 | msk | 121 | 0.0018 | 2010/07/23 09:48:05 | 0B / 63B / 58B |
8 | Hawkseye | 176 | 0.0018 | 2010/07/13 04:04:25 | 0B / 99B / 77B |
9 | nu(inaniwa) | 90 | 0.0018 | 2010/07/24 01:22:37 | 8B / 41B / 41B |
10 | not(inaniwa) | 90 | 0.0019 | 2010/07/24 10:02:24 | 8B / 41B / 41B |
11 | inaniwa | 92 | 0.0017 | 2010/07/23 15:06:03 | 5B / 44B / 43B |
12 | inaniwa(another) | 110 | 0.0048 | 2010/07/23 21:12:53 | 0B / 69B / 41B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | notogawa | 104 | 0.0051 | 2010/07/10 16:30:48 | 0B / ?B / ?B |
2 | rst76 | 115 | 0.0043 | 2010/07/23 00:04:25 | 0B / 72B / 40B |
3 | tanakh | 123 | 0.0211 | 2010/07/22 23:57:14 | 0B / 67B / 51B |
4 | Lost_dog | 130 | 0.0491 | 2010/07/17 15:23:00 | 0B / 81B / 45B |
5 | aaa | 133 | 0.0051 | 2010/07/10 08:30:03 | 0B / ?B / ?B |
6 | nobsun | 141 | 0.0045 | 2010/07/10 07:02:48 | 0B / 76B / 57B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | uru | 330 | 0.0032 | 2010/07/23 12:37:45 | 0B / 202B / 114B |
2 | uru | 295 | 0.0084 | 2010/07/23 19:41:20 | 0B / 199B / 74B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | nn | 105 | 0.0614 | 2010/07/18 16:00:17 | 0B / 51B / 54B |
2 | eban | 176 | 0.0060 | 2010/07/16 19:27:41 | 0B / 84B / 89B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban | 127 | 0.2019 | 2010/07/10 16:47:34 | 0B / 65B / 34B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 79 | 2.2414 | 2011/08/22 14:29:49 | 0B / 50B / 26B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | nn | 105 | 0.4945 | 2010/07/21 16:29:00 | 2B / 66B / 35B |
2 | pla | 108 | 0.6971 | 2010/07/21 00:52:01 | 10B / 67B / 30B |
3 | doug | 112 | 0.1913 | 2010/07/21 16:39:16 | 4B / 55B / 51B |
4 | nn | 104 | 0.5043 | 2010/10/13 12:31:49 | 2B / 64B / 36B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | nn | 105 | 6.5767 | 2010/07/18 15:52:49 | 0B / 66B / 36B |
2 | murky-satyr | 114 | 6.6658 | 2010/07/12 23:29:29 | 0B / 70B / 39B |
3 | murky-satyr | 79 | 6.4096 | 2010/08/22 21:42:52 | 0B / 51B / 26B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | gs2 | tails (eban .rb) | 26 | 10000 |
2 | J | I., S. | 55 | 4727 |
3 | goruby | murky-satyr | 56 | 4642 |
4 | Perl | ySas | 63 | 4126 |
5 | Ruby | eban | 63 | 4126 |
6 | PHP | o-cn(eyepopslikeamosquito) | 76 | 3421 |
7 | Groovy | murky-satyr | 79 | 3291 |
8 | R | pooq | 79 | 3291 |
9 | Python | eyepopslikeamosquito | 83 | 3132 |
10 | Common LISP | kozima | 87 | 2988 |
11 | JavaScript | murky-satyr | 88 | 2954 |
12 | C | nu(inaniwa) | 90 | 2888 |
13 | BASIC | Carlos Gutierrez | 94 | 2765 |
14 | Haskell | notogawa | 104 | 2500 |
15 | Vim | nn | 104 | 2500 |
16 | AWK | nn | 105 | 2476 |
17 | Arc | murky-satyr | 123 | 2113 |
18 | Bash | eban | 127 | 2047 |
19 | Clojure | murky-satyr | 143 | 1818 |
20 | Java | hallvabo | 168 | 1547 |
21 | Pascal | uru | 295 | 881 |
return to the top page