QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#444922#4915. 海胆LeafSeek0 5076ms123116kbC++146.0kb2024-06-15 22:25:002024-06-15 22:25:03

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Accepted
time: 0ms
memory: 38560kb

input:

10
1 3
3 4
1 2
5 2
5 6
2 6
3 4
2 9
2 1
3 1
5
1 10
9 10
3 10
1 7
4 9

output:

4
0
3
3
1

result:

ok 5 number(s): "4 0 3 3 1"

Test #2:

score: -5
Wrong Answer
time: 3ms
memory: 40480kb

input:

97
4 1
1 2
6 7
1 3
7 6
3 1
4 5
1 2
3 5
3 2
29 2
31 94
8 80
32 8
46 8
8 31
31 29
32 29
12 32
2 1
1 3
7 2
6 8
3 2
3 2
3 4
5 1
2 3
3 2
4 1
4 8
5 3
1 2
2 1
4 9
1 3
2 4
6 5
62 9
7 27
27 64
88 27
88 64
27 9
6 9
2 3
8 5
5 7
8 4
5 4
1 2
3 2
10 5
2 1
1 2
2 5
2 1
2 1
5 3
9 2
1 3
3 2
1 3
3 5
3 4
2 4
4 6
3 1
2 ...

output:

85
0
10
19
9
1
47
1
12
16
0
64
13
15
54
54
40
4
0
50
35
35
15
0
4
66
61
31
63
35
12
29
44
21
27
2
13
50
0
48
35
72
1
42
35
42
66
48
8
3
42
40
27
52
54
24
3
0
20
21
14
35
2
9
22
70
5
39
16
0
55
43
14
22
20
47
55
48
22
31
25
4
42
0
26
21
51
42
35
27
24
34
42
8
51
36

result:

wrong answer 1st numbers differ - expected: '87', found: '85'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Wrong Answer

Test #22:

score: 0
Wrong Answer
time: 1956ms
memory: 97168kb

input:

1000000
1 2
1 4
2 1
3 6
6 5
1 3
10 5
2 4
9 6
3 2
1 2
5 1
4 3
1 3
1 4
2 9
6 4
1 2
1 2
1 2
3 4
3 4
7 5
1 2
1 2
2 1
7 8
1 2
5 4
1 3
2 1
4 2
1 4
1 4
4 2
1 3
1 3
7 4
3 4
3 2
2 1
1 2
1 2
2 5
10 6
2 3
2 5
7 2
5 4
4 5
5 7
2 1
8 5
2 1
2 1
1 3
4 6
3 1
2 5
4 8
6 3
1 4
1 2
1 3
9 8
6 5
3 4
3 2
1 3
4 2
1 6
2 1
1 ...

output:

-5914023105516840486

result:

wrong answer 1st numbers differ - expected: '11235160', found: '-5914023105516840486'

Subtask #6:

score: 0
Wrong Answer

Test #27:

score: 0
Wrong Answer
time: 5076ms
memory: 123116kb

input:

1000000
194603 719066
675018 226509
79442 45350
917512 353429
61308 216895
411878 891116
152492 299355
285259 500703
362450 305858
809620 298590
353068 307896
594296 243696
962716 546635
865529 461074
454115 255260
569303 319052
266164 139614
575510 107514
840723 802795
583117 41941
891173 661899
94...

output:

5857688553835865184
6836531491217760225
-7259850288295844364
0
-2563866176211029213
3723309428920510809
7607648302279893851
-8799619400725628880
1537435239147918759
-8384650269416680116
-8642298912062715657
2841373191457655481
4723201882026887757
-2834681828553580018
2927067217579472994
-89298265746...

result:

wrong answer 1st numbers differ - expected: '9091998699', found: '5857688553835865184'

Subtask #7:

score: 0
Skipped

Dependency #4:

0%