QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#206172#7338. Education NightmareGuanYunchangWA 992ms26560kbC++201.3kb2023-10-07 19:15:102023-10-07 19:15:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 992ms
memory: 26560kb

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:

25
22
63
25
6
17
140
11
154
33
24
156
11
76
176
5
85
2
172
17
150
135
132
69
10
158
0
96
91
14
123
90
16
25
5
146
70
94
26
4
6
31
21
29
23
5
136
115
90
13
84
141
3
7
2
117
35
148
84
5
1
141
99
8
1
3
4
32
7
159
179
146
82
11
28
160
85
24
97
30
5
4
12
5
25
4
22
64
27
182
68
2
147
83
1
117
2
1
24
78
21...

result:

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