QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#387555#3746. 千万别用树套树ucup-team1383WA 852ms12084kbC++171.4kb2024-04-12 16:40:072024-04-12 16:40:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 852ms
memory: 12084kb

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:

550
443
306
1392
1433
1735
2398
1270
3503
3109
5580
5197
3284
6164
3548
7100
9080
4473
9233
10107
4856
10690
10690
10190
8752
5541
12517
11786
7002
7002
7311
12662
7686
14982
20608
9070
18419
18548
9373
9781
17130
22777
17342
10774
20277
23262
21940
17977
23755
23594
20369
11003
25595
29760
22020
31...

result:

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