QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#108916#6513. Expression 3larryzhong#TL 2ms3388kbC++173.1kb2023-05-27 00:18:282023-05-27 00:18:32

詳細信息

Test #1:

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

input:

4
9 1 4 1
-+-

output:

46

result:

ok 1 number(s): "46"

Test #2:

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

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: