QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#206522#7338. Education NightmareZhaoZiLongWA 2000ms51308kbC++202.2kb2023-10-07 20:57:122023-10-07 20:57:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 2000ms
memory: 51308kb

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:

21
19
146
17
3
15
131
14
119
15
13
117
8
122
121
6
113
4
111
15
133
146
107
144
7
117
0
102
107
11
108
135
13
14
6
123
139
104
18
3
3
21
15
23
15
7
103
118
111
11
114
142
5
14
1
114
15
137
117
10
3
132
99
16
1
5
9
17
7
112
110
123
141
10
19
131
113
14
142
25
6
4
12
11
21
10
17
134
20
109
130
4
136
1...

result:

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