QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#477058#8061. Add or MultiplyZhangYiDeWA 0ms3828kbC++175.9kb2024-07-13 22:59:252024-07-13 22:59:26

详细

Test #1:

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

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: 3516kb

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
-624999990
0
-1
-874999993
101
74
75
999999965

result:

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