QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#326934#6513. Expression 3ReliaukTL 1782ms3832kbC++172.1kb2024-02-14 14:23:262024-02-14 14:23:26

详细

Test #1:

score: 100
Accepted
time: 1782ms
memory: 3832kb

input:

4
9 1 4 1
-+-

output:

46

result:

ok 1 number(s): "46"

Test #2:

score: 0
Accepted
time: 1782ms
memory: 3572kb

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: