QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#383521#3746. 千万别用树套树ucup-team1383WA 368ms5256kbC++981.6kb2024-04-09 15:13:442024-04-09 15:13:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 368ms
memory: 5256kb

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:

4
2
5
11
7
10
19
4
28
2
19
27
31
46
37
35
57
16
46
26
41
24
24
47
70
6
67
80
17
16
33
11
48
95
50
68
88
88
32
58
99
61
8
65
14
98
37
8
89
99
105
66
90
72
9
56
111
10
80
108
95
68
103
4
3
16
14
73
55
123
107
26
141
11
91
149
59
58
26
48
87
95
35
116
73
37
15
80
123
58
143
43
50
101
4
132
112
142
88
9...

result:

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