QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#797088#1163. Another Tree Queries ProblemZhangYiDeWA 69ms16204kbC++205.6kb2024-12-02 16:02:122024-12-02 16:02:15

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 12116kb

input:

5
4 2
2 5
1 5
1 3
5
2 2 4
3 4
2 1 5
2 5 5
3 2

output:

1
5

result:

ok 2 number(s): "1 5"

Test #2:

score: -100
Wrong Answer
time: 69ms
memory: 16204kb

input:

200
171 114
50 183
28 68
67 152
139 125
67 55
50 98
106 71
46 42
157 165
42 49
113 12
81 145
105 13
38 96
34 156
24 17
21 191
135 54
174 116
177 157
123 71
95 130
135 193
150 129
25 190
96 93
188 173
90 160
86 187
20 132
199 75
59 195
189 24
40 68
163 83
25 13
73 33
59 50
154 19
146 21
151 67
89 69
...

output:

25549
31611
31034
37131
39512
26868
48046
34759
66292
56370
72110
59580
94337
92827
125782
100260
69385
142072
97569
124851
128321
81250
182386
132372
132042
144468
107902
95696
80268
126375
133348
222241
134069
181580
145093
158041
94689
187652
100065
192513
237530
192638
191381
144543
173860
24669...

result:

wrong answer 1st numbers differ - expected: '826', found: '25549'