QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#268993#6513. Expression 3KingOfHuaTL 2ms3160kbC++141.3kb2023-11-29 09:53:312023-11-29 09:53:31

详细

Test #1:

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

input:

4
9 1 4 1
-+-

output:

46

result:

ok 1 number(s): "46"

Test #2:

score: 0
Accepted
time: 2ms
memory: 3160kb

input:

5
1 2 3 4 5
+-+-

output:

998244313

result:

ok 1 number(s): "998244313"

Test #3:

score: -100
Time Limit Exceeded

input:

100000
664815434 205025136 871445392 797947979 379688564 336946672 231295524 401655676 526374414 670533644 156882283 372427821 700299596 166140732 677498490 44858761 185182210 559696133 813911251 842364231 681916958 114039865 222372111 784286397 437994571 152137641 650875922 613727135 209302742 5321...

output:


result: