QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#387721#3746. 千万别用树套树ucup-team1383WA 860ms13212kbC++171.4kb2024-04-12 18:55:042024-04-12 18:55:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 860ms
memory: 13212kb

input:

100000 100000
1 48500 63742
1 43673 89780
1 6471 44388
1 68054 71541
1 30056 91431
1 49687 70537
2 46899 46900
1 5165 57954
1 85892 88481
2 18060 18062
2 45289 45289
1 18927 67848
1 17389 96139
1 63451 92197
1 15473 87341
1 15162 15744
1 76728 99645
2 48730 48731
2 20886 20888
1 9756 67424
1 23175 4...

output:

556
443
306
1399
1433
1735
2398
1270
3503
3109
5591
5210
3284
6184
3548
7100
9080
4473
9233
10107
4856
10690
10690
10205
8754
5541
12517
11798
7002
7002
7311
12662
7686
14982
20608
9070
18419
18560
9373
9781
17130
22804
17342
10774
20277
23262
21940
17977
23772
23594
20369
11003
25615
29760
22034
31...

result:

wrong answer 1st numbers differ - expected: '2', found: '556'