QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#815203#9877. Segment Treeucup-team6072#WA 199ms10800kbPython32.6kb2024-12-15 06:59:202024-12-15 06:59:24

详细

Test #1:

score: 100
Accepted
time: 15ms
memory: 10480kb

input:

3
7 1 14 3 9 4 8 2 6 5 5 13 8 2 3
10
2 0 1
2 0 4
2 4 6
2 4 8
2 3 5
1 6 30
2 3 5
2 4 6
1 1 10000000
2 0 8

output:

2
1
4
8
17
18
13
15

result:

ok 8 tokens

Test #2:

score: -100
Wrong Answer
time: 199ms
memory: 10800kb

input:

1
7914575 2436426 4979445
199989
1 1 6190629
1 1 1407775
1 1 2804784
1 2 2631932
1 1 3078537
1 3 286918
1 2 3238506
1 3 3361868
1 2 9296263
1 3 4836991
1 3 2177068
1 3 4291757
1 1 594328
1 2 8996221
1 1 5531545
1 3 3575467
1 3 3206504
1 1 8344965
1 3 6045895
2 0 2
1 2 6248153
1 1 5797489
1 1 9766466...

output:

7415871
7415871
2624007
2512448
4979445
4979445
4979445
6363152
2436426
4380822
2436426
4979445
2436426
7415871
4979445
2436426
7415871
2808118
2436426
4979445
2436426
7415871
2436426
2436426
7400947
4979445
2436426
7415871
4979445
4979445
4979445
2436426
4979445
2436426
4979445
2436426
4979445
3806...

result:

wrong answer 1st words differ - expected: '8344965', found: '7415871'