QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#211003#7338. Education NightmareZhangYiDeWA 1015ms30672kbC++141.6kb2023-10-11 23:26:582023-10-11 23:26:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 10848kb

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: 1015ms
memory: 30672kb

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:

9
8
63
18
3
9
131
8
119
12
21
95
8
76
121
4
85
2
111
7
121
132
107
69
7
117
0
102
107
6
108
90
9
13
4
97
70
104
21
3
3
18
16
14
10
5
103
118
111
5
114
130
3
6
1
114
23
137
117
4
1
132
99
8
1
3
4
25
7
88
104
123
82
5
9
127
113
15
86
11
6
4
8
5
11
4
11
64
8
105
68
2
124
83
1
108
2
1
23
78
6
121
17
0
1...

result:

wrong answer 4th numbers differ - expected: '12', found: '18'