QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#206468#7338. Education NightmareZhangYiDeWA 3242ms37364kbC++202.0kb2023-10-07 20:40:282023-10-07 20:40:28

详细

Test #1:

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

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: 3242ms
memory: 37364kb

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:

22
19
102
17
3
15
118
13
107
15
13
169
8
59
121
7
34
0
104
17
158
144
78
102
7
106
0
27
25
11
75
99
13
14
7
161
95
16
17
2
3
21
15
23
15
6
74
86
63
11
46
149
0
6
1
81
13
131
69
3
0
120
1
7
0
0
3
17
8
173
184
109
104
10
19
164
49
12
127
26
4
4
12
2
21
0
17
37
20
186
39
0
155
112
0
72
0
0
14
47
14
140...

result:

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