QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#776573#8048. Roman Masterucup-team014#WA 36ms3908kbC++231.2kb2024-11-23 19:26:592024-11-23 19:27:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3908kb

input:

3
II
IVI
VIIIIIV

output:

2
16
634

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 36ms
memory: 3840kb

input:

100000
VVIVVVVVII
VVVIIIIVVI
IVIIVIIIIV
VVVVVIIVVI
IIIVIVVVIV
VIVIIIIIVI
VVIIVVIVVI
IVVVIVVVVV
VIIVVVVIVV
VIIIIVVVVV
VVVVVVIVIV
VIVIIIVVVI
VIIIVIVVVI
VIIIIVVIIV
VIVVVIIVII
IIIIIVIIVI
IIIIVVVVII
IVIIVVIIVI
IVVIVVIIIV
IVVVIIIVIV
IIIIVIIIVV
VVVVVIVIIV
VVVIIIIVVV
VIVVIIIIVI
VIIIIIIIIV
VIVIVVVIVV
IVIIIVI...

output:

5645557
555346
17434
5555746
364564
6636
574646
145645555
7455645
5345555
55555664
68456
86456
53474
64577
1376
34557
17476
146484
145864
3845
5555674
5553455
64536
5334
6645645
1843
27745
34745
64846
55557455
146345
3846
84646
683
6455664
638
14776
8666
2456645
555555556
166664
1457645
5533
1488
64...

result:

wrong answer 1st lines differ - expected: '5545557', found: '5645557'