QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#709235#5308. RPG Pro LeaguexyjWA 126ms9776kbC++204.1kb2024-11-04 13:09:432024-11-04 13:09:44

详细

Test #1:

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

input:

5
BS 3
D 3
B 2
D 4
D 5
2
5 2
1 5

output:

10
12

result:

ok 2 number(s): "10 12"

Test #2:

score: -100
Wrong Answer
time: 126ms
memory: 9776kb

input:

100000
B 727564174
S 231637747
D 246625257
S 975124756
D 844292741
S 809641006
B 396062588
B 883224128
B 311130283
S 434433581
S 509817048
S 993501344
S 508399542
B 279564062
D 950946642
D 819528264
D 412285620
B 968540732
S 953428318
D 902181790
S 172330493
D 725075
B 135580649
D 714478555
B 466916...

output:

40721766963064
40720937650054
40721033098442
40720635493775
40720532942041
40719841030327
40718872810580
40718507423074
40718575944532
40718389229585
40717976549118
40718192557965
40718032175067
40717715577522
40717651694503
40717689320419
40716821774908
40716435229253
40715964911139
40715124587397
...

result:

wrong answer 3rd numbers differ - expected: '40721120372880', found: '40721033098442'