QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#347539#8061. Add or MultiplyZhaoZiLongWA 2ms25760kbC++174.3kb2024-03-09 14:11:062024-03-09 14:11:08

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 25760kb

input:

3 4
2+3*4
s 1 2
a
f 2
a

output:

14
11
10
24
9

result:

ok 5 lines

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 25088kb

input:

15 11
8*5*5*5*8*5*5*5*8*5*5*5+1+2+3
f 14
s 15 15
s 1 1
s 15 1
s 1 15
f 13
f 1
a
f 1
f 12
a

output:

1000000006
0
375000017
0
1000000006
125000014
101
74
75
999999965

result:

wrong answer 3rd lines differ - expected: '0', found: '375000017'