Results

Final Round Results

MrInF3ction's solution for 200: Calculator, written in C#, submitted on 07.06.2015 14:49:37

Test cases result

#Test Case inputExpectedReceivedStatus
1.
"2+3="
5
5
Correct
2.
"2+3*2="
10
10
Correct
3.
"2+3*M2+R="
15
15
Correct
4.
"2+M3+R="
7
7
Correct
5.
"2+3*M2M+3R="
12
12
Correct
6.
"2+3*M2M+R3="
33
15
Wrong
7.
"110*96M/R110="
0
0
Correct
8.
"122M/143+128*M5R/113*97R-149R*145-R101R
+42="
2653994
-2839938
Wrong
9.
"4/106+120="
120
120
Correct
10.
"70-R61M+63-99-109-148-40-42R*R143="
-23540055
-4614467
Wrong
11.
"59/10+23R="
5
7
Wrong
12.
"93M*121*R94-28*R67+M36="
-1945749322
-1213811054
Wrong
13.
"24-140+137M+52-141/55+41*144*149R+60="
789180
891564
Wrong
14.
"137/138*56+55="
55
55
Correct
15.
"127+49-130*25="
1150
1150
Correct
16.
"76+27/65+116+R132R*71+31="
8338
9261
Wrong
17.
"57*38/49+53+M121/101R/37="
0
18
Wrong
18.
"11R*32+19+R79+94R*3/56="
5
0
Wrong
19.
"M17*78+71+21*7="
9926
Exception: Operation is not valid due to the current state of the object Error
20.
"M125+2-35-88/127-84*138/102*62/76="
-92
Exception: Operation is not valid due to the current state of the object Error
21.
"142R*5*74+88/60+115R*69="
69
6762
Wrong
22.
"62+60-29="
93
-93
Wrong
23.
"149-24*51-49*M144+R100M/107="
67635
0
Wrong
24.
"M55+65R/142*71/110-119/78-131R-94="
-95
Exception: Operation is not valid due to the current state of the object Error
25.
"89M-136*116="
-5452
-5452
Correct
26.
"101/138*146R="
0
0
Correct
27.
"31M*42+94*R44/124-55*63+81R="
2226451
964002
Wrong
28.
"13R+65R+16+97*109+M38/33/60/88="
0
14
Wrong
29.
"144+M17M/59+136+69/R60="
0
0
Correct
30.
"108*101-25R/15*32-144+141/143/78="
2
0
Wrong
31.
"126R*117+46+147-51*131-59="
18543
-202467
Wrong
32.
"34M*28*M73-76+55R*148="
10415056
10415796
Wrong
33.
"19/41+109="
109
109
Correct
34.
"56-92R+9="
65
56
Wrong
35.
"25/57-87-22/27="
-4
0
Wrong
36.
"19+51*67+41="
4731
4731
Correct
37.
"13-78R*98*M57*79="
5736822
2647764
Wrong
38.
"99*101/54+128+16+94/7="
60
0
Wrong
39.
"85/77M-37/24+M149+100-40R*53="
13197
12985
Wrong
40.
"141M+114*143+43+M68*41="
1499616
1499616
Correct
41.
"M40*113M-122R*5+47+R68="
33450
Exception: Operation is not valid due to the current state of the object Error
42.
"118*14+42/124+5M+84="
102
102
Correct
43.
"R75*15*M15/44+106="
489
Exception: Array index is out of range. Error
44.
"93-113*145/127-R27="
-49
27
Wrong
45.
"60M+20+28M/147R-92-M48-30-137*133-1="
-40433
40566
Wrong
46.
"120/M134*38+24*93*35/105="
744
0
Wrong
47.
"115*1+92-7-R51-100="
49
351
Wrong
48.
"63+M119+57*1M-R101/16-50*108="
-11124
-5400
Wrong
49.
"145/38*109/41-97-2-128="
-220
220
Wrong
50.
"R62/116+99R-16-45M*56/R89*15+39R+140="
185
Exception: Array index is out of range. Error
51.
"141M*86/R108*M144="
0
0
Correct
52.
"85+110+136-R88M-32M/10*127+16M="
2683
16
Wrong
53.
"132+32M*94*71+86-R17-29/33/140M*M19="
4484
0
Wrong
54.
"90/M113-M2/10-M67/39*6/77-38="
-38
38
Wrong
55.
"M27-146-97="
-216
Exception: Operation is not valid due to the current state of the object Error
56.
"138/127-93+7*12*134="
-136680
-136680
Correct
57.
"117*22/59="
43
0
Wrong
58.
"66*122R*R4-R145+56-107/R22*25="
-200
0
Wrong
59.
"83/15*14+129M/97/22="
0
11
Wrong
60.
"63M+29/R59-44/60-127*41="
-5207
-5207
Correct
61.
"70-9/133*53*110+82/144+110M="
110
110
Correct
62.
"81-M37/144*82+128/63R+50+M29*139/M29R="
1
1
Correct
63.
"92*130-132M*54*R101-127*M40+139+52R="
1905572044
1235287705
Wrong
64.
"M8-4M+109/23/71*138+5+80/147+67="
67
Exception: Operation is not valid due to the current state of the object Error
65.
"125M-112/57="
0
4
Wrong
66.
"127/100+120-138*M27*69R/76="
102
0
Wrong
67.
"92R-19/R32M+62="
62
62
Correct
68.
"3-R91-69M/R147+35R/M43-M76="
-75
75
Wrong
69.
"42R*R109R*119/M39*101="
0
0
Correct
70.
"56/122*98/47-R67-M89*M3M+85+102/68="
-4
0
Wrong
71.
"56R*M58R+5M-147+70*48="
-3456
-1056
Wrong
72.
"25M/104-112-R12+115-90+21/137M*97*78="
-136188
7566
Wrong
73.
"R138+10+M18/107+106/133M-R119M/135-121=
"
-1107
Exception: Array index is out of range. Error
74.
"R142/120+109="
110
Exception: Array index is out of range. Error
75.
"20+46+99+116+49-100M="
230
-230
Wrong
76.
"7*64M+60/145M-25+148*149R*122R="
2649150
3145338
Wrong
77.
"M137R-26/11="
-2
Exception: Operation is not valid due to the current state of the object Error
78.
"48*133-110/146*103R+104R*R32="
0
0
Correct
79.
"3+R65-64="
4
-4
Wrong
80.
"69/21+M23/M136-132M+122-29*R142="
-5153538
-731016
Wrong
81.
"50/118*119+71*129M*R111="
1182527649
131147721
Wrong
82.
"7+7-16*64/M3+R44/134*17+108R="
-1743
-118
Wrong
83.
"91/35+145*23+11+26/14-123/55="
2
0
Wrong
84.
"64/35*113-11+44-150R="
146
-131
Wrong
85.
"80*3/7="
34
0
Wrong
86.
"136M-M40-69-123*101="
-9696
-9696
Correct
87.
"26-127+119="
18
18
Correct
88.
"M84-144M*146+117-112/113*133*51/125M+14
7="
-4031
Exception: Operation is not valid due to the current state of the object Error
89.
"22-81/143-47R+43-123R+61/130-100-92="
-192
192
Wrong
90.
"58/61+149*86/M85+15+88+10-17+75="
321
321
Correct
91.
"142/R14-108*145-75-150-84-48-56*M114="
-1667022
-1832322
Wrong
92.
"49/60+145*27/144M*20-118="
422
-422
Wrong
93.
"R109R/13*56-140*52*25+11*41="
-7461549
Exception: Array index is out of range. Error
94.
"37*142+90+79*128*65-17="
45119343
-45119343
Wrong
95.
"49+144R*96-44="
4660
-6004
Wrong
96.
"34+M149/51/132="
0
44
Wrong
97.
"85+36*65/56/13*M136M*M92/M68M/23="
80
0
Wrong
98.
"M35M*R33/15+M18+98/38/147/140*61-111="
-111
Exception: Operation is not valid due to the current state of the object Error
99.
"R71/92/98+106+27-51R+M142-M49="
226
Exception: Array index is out of range. Error
100.
"89*61-R93/88="
60
0
Wrong