QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#325702#8061. Add or Multiplylmq26052003WA 1ms3788kbC++204.2kb2024-02-11 20:20:442024-02-11 20:20:44

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3660kb

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: 1ms
memory: 3788kb

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
0
0
375000017
0
1000000006
156156169
102
75
75
999999965

result:

wrong answer 8th lines differ - expected: '125000014', found: '156156169'