QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#208001#7338. Education NightmareZhangYiDeWA 1069ms43056kbC++203.0kb2023-10-09 03:07:172023-10-09 03:07:17

詳細信息

Test #1:

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

input:

1
4 2 3
1 2
1 3
1 4

output:

4

result:

ok 1 number(s): "4"

Test #2:

score: -100
Wrong Answer
time: 1069ms
memory: 43056kb

input:

14966
15 13 8
7 14
7 10
5 3
1 3
15 3
1 13
9 5
7 2
6 13
10 11
13 8
5 10
5 12
14 4
16 14 9
16 11
14 9
8 15
14 15
13 10
6 11
3 2
9 5
6 7
10 6
6 8
1 5
15 4
10 2
11 12
100 49 58
67 43
55 34
84 42
3 74
84 54
20 6
86 83
88 51
2 99
4 78
91 64
14 59
82 38
91 44
24 12
12 2
39 19
43 46
5 80
41 35
80 97
79 8
47...

output:

27
27
146
27
3
19
140
15
154
35
26
180
13
122
176
7
113
2
172
19
164
151
132
144
7
158
0
102
107
16
123
135
18
27
7
174
139
104
28
3
3
33
23
31
26
7
136
118
111
15
114
155
3
14
1
117
37
148
117
10
1
141
99
12
1
3
6
34
9
185
187
146
141
13
30
166
113
26
155
32
6
4
14
5
27
4
24
134
29
188
130
2
161
14...

result:

wrong answer 1st numbers differ - expected: '9', found: '27'