QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#813977#9877. Segment Treeucup-team5647#WA 22ms5612kbC++141.8kb2024-12-14 14:12:592024-12-14 14:12:59

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 5604kb

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: 22ms
memory: 5612kb

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:

8344965
5684734
2624007
2512448
130126
7751092
5052334
6363152
6668726
4380822
8809904
4042733
8215500
8653391
3654574
7617913
8583126
2808118
4099069
2539201
7188565
8465921
4517278
1913351
7400947
5104744
1759308
6081288
3559555
3409112
3714298
8265147
4704960
5280672
9424416
1622556
2599805
18330...

result:

wrong answer 3rd words differ - expected: '2756417', found: '2624007'