QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#815182#9877. Segment Treeucup-team6072#WA 208ms10784kbPython32.2kb2024-12-15 06:49:452024-12-15 06:49:46

詳細信息

Test #1:

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

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: 208ms
memory: 10784kb

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
9852297
8856566
5052334
6363152
2436426
4380822
2436426
8074971
2436426
7415871
5341660
2436426
7415871
2808118
2436426
9019850
2436426
7415871
2436426
2436426
7400947
5763556
2436426
7415871
5220274
9852297
5263673
2436426
7283691
2436426
9589179
2436426
6243224
3806...

result:

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